#7F9318

Closest named color: Dark Yellow Green (#728F02). oklch(62.6% 0.14 119.2), rgb(127, 147, 24).

Aa

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

About this color

#7F9318 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.140 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.024 away. Black text reads best on it, at 6.08:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.08:1
White text3.44:1

Values

HEX#7F9318
RGBrgb(127, 147, 24)
HSLhsl(70, 72%, 34%)
OKLCHoklch(62.6% 0.14 119.2)

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 #7F9318 3.44:1 AA large text Lc -67.3 Content text, not long reading
Black text on #7F9318 6.08:1 AA Lc 42.2 Non-text elements, placeholder text
#7F9318 text on white 3.44:1 AA large text Lc 61.9 Content text, not long reading
#7F9318 text on black 6.08: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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D6DDC1

    oklch(88.5% 0.038 118.6)

  4. Step 300

    300

    #BBC796

    oklch(80.8% 0.067 119.1)

  5. Step 400

    400

    #99AA58

    oklch(70.6% 0.109 118.9)

  6. Step 500

    500 (this color)

    #7F9318

    oklch(62.6% 0.14 119.2)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A04

    oklch(26.9% 0.058 119.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F9318 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.047
Deuteranopia (no green cones)#9B8A250.050
Tritanopia (no blue cones)#878B7D0.119
Achromatopsia (no color)#8A8A8A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F9318

    #7F9318

    oklch(62.6% 0.14 119.2)

  • #9472D0

    #9472D0

    oklch(62.5% 0.141 299)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F9318

    #7F9318

    oklch(62.6% 0.14 119.2)

  • #A78300

    #A78300

    oklch(62.7% 0.128 89.2)

  • #3E9F57

    #3E9F57

    oklch(62.7% 0.14 149.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F9318

    #7F9318

    oklch(62.6% 0.14 119.2)

  • #6682DC

    #6682DC

    oklch(62.7% 0.14 269.1)

  • #B566B1

    #B566B1

    oklch(62.6% 0.14 328.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F9318

    #7F9318

    oklch(62.6% 0.14 119.2)

  • #0891D3

    #0891D3

    oklch(62.6% 0.141 239.6)

  • #C96086

    #C96086

    oklch(62.6% 0.139 359.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F9318

    #7F9318

    oklch(62.6% 0.14 119.2)

  • #0099AB

    #0099AB

    oklch(62.5% 0.108 209.4)

  • #9472D0

    #9472D0

    oklch(62.5% 0.141 299)

  • #CF6354

    #CF6354

    oklch(62.7% 0.14 29.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7F9318 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.