#7C7002

Closest named color: Brown Green (#706C11). oklch(53.9% 0.112 102), rgb(124, 112, 2).

Aa

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

About this color

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

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

Values

HEX#7C7002
RGBrgb(124, 112, 2)
HSLhsl(54, 97%, 25%)
OKLCHoklch(53.9% 0.112 102)

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 #7C7002 5.02:1 AA Lc -80.0 Fine for body text
Black text on #7C7002 4.17:1 AA large text Lc 29.5 Dividers and decoration only
#7C7002 text on white 5.02:1 AA Lc 74.6 Content text, not long reading
#7C7002 text on black 4.17:1 AA large text Lc -27.1 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

    #EBEADF

    oklch(93.5% 0.015 102.5)

  3. Step 200

    200

    #DCDAC5

    oklch(88.4% 0.028 102.5)

  4. Step 300

    300

    #C7C29D

    oklch(80.9% 0.05 101)

  5. Step 400

    400

    #AAA366

    oklch(70.7% 0.082 102.6)

  6. Step 500

    500

    #968B3A

    oklch(63% 0.103 101.6)

  7. Step 600

    600 (this color)

    #7C7002

    oklch(53.9% 0.112 102)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #595006

    oklch(42.7% 0.086 101.6)

  10. Step 900

    900

    #494312

    oklch(37.8% 0.068 102.3)

  11. Step 950

    950

    #2B270C

    oklch(27% 0.043 101)

Export this scale for Tailwind in the Tailwind colors tool

#7C7002 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)#7C6C000.011
Deuteranopia (no green cones)#7F71100.008
Tritanopia (no blue cones)#87675E0.102
Achromatopsia (no color)#6F6F6F0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C7002

    #7C7002

    oklch(53.9% 0.112 102)

  • #6565AE

    #6565AE

    oklch(54% 0.113 282)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7002

    #7C7002

    oklch(53.9% 0.112 102)

  • #96620A

    #96620A

    oklch(54% 0.112 72.1)

  • #557C31

    #557C31

    oklch(54% 0.113 132.2)

Open the analogous palette in the generator

Split complementary

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

  • #7C7002

    #7C7002

    oklch(53.9% 0.112 102)

  • #3971AE

    #3971AE

    oklch(54% 0.113 252.4)

  • #845A9D

    #845A9D

    oklch(53.9% 0.111 312)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7002

    #7C7002

    oklch(53.9% 0.112 102)

  • #007B98

    #007B98

    oklch(54% 0.1 221.9)

  • #9A5281

    #9A5281

    oklch(54% 0.113 341.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7002

    #7C7002

    oklch(53.9% 0.112 102)

  • #007F7C

    #007F7C

    oklch(53.9% 0.093 191.9)

  • #6565AE

    #6565AE

    oklch(54% 0.113 282)

  • #A5505D

    #A5505D

    oklch(54% 0.112 12)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7C7002.

Similar named colors

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

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