#7D7012

Closest named color: Brown Green (#706C11). oklch(54.1% 0.107 100.7), rgb(125, 112, 18).

Aa

White text reads best on this color (5.00:1).

About this color

#7D7012 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 54%, its chroma 0.107 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.025 away. White text reads best on it, at 5.00:1.

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text4.19:1
White text5.00:1

Values

HEX#7D7012
RGBrgb(125, 112, 18)
HSLhsl(53, 75%, 28%)
OKLCHoklch(54.1% 0.107 100.7)

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 #7D7012 5.00:1 AA Lc -79.9 Fine for body text
Black text on #7D7012 4.19:1 AA large text Lc 29.6 Dividers and decoration only
#7D7012 text on white 5.00:1 AA Lc 74.5 Content text, not long reading
#7D7012 text on black 4.19:1 AA large text Lc -27.2 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C7C29F

    oklch(80.9% 0.048 100.6)

  5. Step 400

    400

    #ABA269

    oklch(70.6% 0.077 100.4)

  6. Step 500

    500

    #978B3F

    oklch(63.1% 0.098 100.4)

  7. Step 600

    600 (this color)

    #7D7012

    oklch(54.1% 0.107 100.7)

  8. Step 700

    700

    #6D6208

    oklch(49.2% 0.1 101.4)

  9. Step 800

    800

    #59500E

    oklch(42.8% 0.082 101.1)

  10. Step 900

    900

    #494215

    oklch(37.6% 0.064 100.4)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#7D7012 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)#7C6D000.010
Deuteranopia (no green cones)#7F711A0.006
Tritanopia (no blue cones)#87675F0.098
Achromatopsia (no color)#6F6F6F0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D7012

    #7D7012

    oklch(54.1% 0.107 100.7)

  • #6466AC

    #6466AC

    oklch(54% 0.108 280.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D7012

    #7D7012

    oklch(54.1% 0.107 100.7)

  • #966319

    #966319

    oklch(54.2% 0.107 70.7)

  • #597B34

    #597B34

    oklch(54% 0.107 130.6)

Open the analogous palette in the generator

Split complementary

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

  • #7D7012

    #7D7012

    oklch(54.1% 0.107 100.7)

  • #3A72AB

    #3A72AB

    oklch(54.1% 0.108 250.8)

  • #835C9D

    #835C9D

    oklch(54.2% 0.107 310.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D7012

    #7D7012

    oklch(54.1% 0.107 100.7)

  • #007B97

    #007B97

    oklch(54% 0.099 221.1)

  • #985482

    #985482

    oklch(54.1% 0.108 340.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D7012

    #7D7012

    oklch(54.1% 0.107 100.7)

  • #00807C

    #00807C

    oklch(54.2% 0.093 190.9)

  • #6466AC

    #6466AC

    oklch(54% 0.108 280.9)

  • #A35260

    #A35260

    oklch(54.1% 0.107 10.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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