#7C7A15

Closest named color: Olive (#808000). oklch(56.4% 0.115 108.4), rgb(124, 122, 21).

Aa

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

About this color

#7C7A15 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.115 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.021 away. Black text reads best on it, at 4.65:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.65:1
White text4.51:1

Values

HEX#7C7A15
RGBrgb(124, 122, 21)
HSLhsl(59, 71%, 28%)
OKLCHoklch(56.4% 0.115 108.4)

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 #7C7A15 4.51:1 AA Lc -76.7 Fine for body text
Black text on #7C7A15 4.65:1 AA Lc 32.9 Non-text elements, placeholder text
#7C7A15 text on white 4.51:1 AA Lc 71.2 Content text, not long reading
#7C7A15 text on black 4.65:1 AA Lc -30.4 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 600.

  1. Step 50

    50

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC6

    oklch(88.5% 0.028 109.2)

  4. Step 300

    300

    #C3C49D

    oklch(80.9% 0.053 108.7)

  5. Step 400

    400

    #A5A567

    oklch(70.7% 0.083 108.3)

  6. Step 500

    500

    #8F8E3B

    oklch(63% 0.106 108.4)

  7. Step 600

    600 (this color)

    #7C7A15

    oklch(56.4% 0.115 108.4)

  8. Step 700

    700

    #676500

    oklch(49.2% 0.106 108.4)

  9. Step 800

    800

    #545208

    oklch(42.7% 0.088 107.9)

  10. Step 900

    900

    #454412

    oklch(37.7% 0.069 108.2)

  11. Step 950

    950

    #28280D

    oklch(27% 0.043 109)

Export this scale for Tailwind in the Tailwind colors tool

#7C7A15 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)#8575000.018
Deuteranopia (no green cones)#86781E0.019
Tritanopia (no blue cones)#8671680.105
Achromatopsia (no color)#7676760.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C7A15

    #7C7A15

    oklch(56.4% 0.115 108.4)

  • #7369B5

    #7369B5

    oklch(56.4% 0.115 288.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7A15

    #7C7A15

    oklch(56.4% 0.115 108.4)

  • #9A6C09

    #9A6C09

    oklch(56.5% 0.115 78.5)

  • #518540

    #518540

    oklch(56.3% 0.115 138.5)

Open the analogous palette in the generator

Split complementary

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

  • #7C7A15

    #7C7A15

    oklch(56.4% 0.115 108.4)

  • #4976B8

    #4976B8

    oklch(56.4% 0.114 257.9)

  • #925EA1

    #925EA1

    oklch(56.4% 0.116 318.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7A15

    #7C7A15

    oklch(56.4% 0.115 108.4)

  • #0081A8

    #0081A8

    oklch(56.3% 0.11 228.1)

  • #A65781

    #A65781

    oklch(56.4% 0.115 348.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7A15

    #7C7A15

    oklch(56.4% 0.115 108.4)

  • #00868A

    #00868A

    oklch(56.3% 0.096 198.5)

  • #7369B5

    #7369B5

    oklch(56.4% 0.115 288.1)

  • #AF575B

    #AF575B

    oklch(56.4% 0.115 18.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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