#7F9302

Closest named color: Dark Yellow Green (#728F02). oklch(62.5% 0.146 118.9), rgb(127, 147, 2).

Aa

Black text reads best on this color (6.07:1).

About this color

#7F9302 is a medium-light, vivid yellow. In OKLCH its lightness is 63%, its chroma 0.146 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.022 away. Black text reads best on it, at 6.07:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromavivid (0.146)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.07:1
White text3.45:1

Values

HEX#7F9302
RGBrgb(127, 147, 2)
HSLhsl(68, 97%, 29%)
OKLCHoklch(62.5% 0.146 118.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #7F9302 3.45:1 AA large text Lc -67.4 Content text, not long reading
Black text on #7F9302 6.07:1 AA Lc 42.2 Non-text elements, placeholder text
#7F9302 text on white 3.45:1 AA large text Lc 61.9 Content text, not long reading
#7F9302 text on black 6.07:1 AA Lc -39.8 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D6DDC0

    oklch(88.4% 0.04 118.2)

  4. Step 300

    300

    #BBC893

    oklch(80.9% 0.073 119.2)

  5. Step 400

    400

    #99AB54

    oklch(70.8% 0.115 119.1)

  6. Step 500

    500 (this color)

    #7F9302

    oklch(62.5% 0.146 118.9)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A02

    oklch(26.9% 0.061 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F9302 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9D8A000.049
Deuteranopia (no green cones)#9B8A1A0.050
Tritanopia (no blue cones)#878A7C0.126
Achromatopsia (no color)#8A8A8A0.147

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #7F9302

    #7F9302

    oklch(62.5% 0.146 118.9)

  • #9571D3

    #9571D3

    oklch(62.6% 0.146 299.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F9302

    #7F9302

    oklch(62.5% 0.146 118.9)

  • #A78200

    #A78200

    oklch(62.5% 0.128 88.5)

  • #389F53

    #389F53

    oklch(62.5% 0.147 148.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #7F9302

    #7F9302

    oklch(62.5% 0.146 118.9)

  • #6481E0

    #6481E0

    oklch(62.6% 0.147 269.1)

  • #B764B3

    #B764B3

    oklch(62.6% 0.147 328.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F9302

    #7F9302

    oklch(62.5% 0.146 118.9)

  • #0091D2

    #0091D2

    oklch(62.5% 0.14 238.8)

  • #CB5D86

    #CB5D86

    oklch(62.5% 0.146 358.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F9302

    #7F9302

    oklch(62.5% 0.146 118.9)

  • #0099AA

    #0099AA

    oklch(62.5% 0.108 208.6)

  • #9571D3

    #9571D3

    oklch(62.6% 0.146 299.1)

  • #D16052

    #D16052

    oklch(62.5% 0.146 29)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7F9302, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #7F9302 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.