#7E7A1A

Closest named color: Olive (#808000). oklch(56.6% 0.112 107), rgb(126, 122, 26).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.68:1
White text4.48:1

Values

HEX#7E7A1A
RGBrgb(126, 122, 26)
HSLhsl(58, 66%, 30%)
OKLCHoklch(56.6% 0.112 107)

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 #7E7A1A 4.48:1 AA large text Lc -76.5 Fine for body text
Black text on #7E7A1A 4.68:1 AA Lc 33.1 Non-text elements, placeholder text
#7E7A1A text on white 4.48:1 AA large text Lc 71.0 Content text, not long reading
#7E7A1A text on black 4.68:1 AA Lc -30.7 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

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DBDBC6

    oklch(88.6% 0.028 107)

  4. Step 300

    300

    #C4C39E

    oklch(80.8% 0.05 106.2)

  5. Step 400

    400

    #A6A468

    oklch(70.6% 0.08 106.6)

  6. Step 500

    500

    #918E3D

    oklch(63.2% 0.103 107.1)

  7. Step 600

    600 (this color)

    #7E7A1A

    oklch(56.6% 0.112 107)

  8. Step 700

    700

    #686403

    oklch(49.1% 0.104 106.9)

  9. Step 800

    800

    #55520B

    oklch(42.8% 0.086 106.9)

  10. Step 900

    900

    #464414

    oklch(37.8% 0.067 106.9)

  11. Step 950

    950

    #29280D

    oklch(27.1% 0.043 107)

Export this scale for Tailwind in the Tailwind colors tool

#7E7A1A 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)#8575020.016
Deuteranopia (no green cones)#8779220.017
Tritanopia (no blue cones)#8871680.102
Achromatopsia (no color)#7777770.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7A1A

    #7E7A1A

    oklch(56.6% 0.112 107)

  • #726BB4

    #726BB4

    oklch(56.6% 0.111 286.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7A1A

    #7E7A1A

    oklch(56.6% 0.112 107)

  • #9B6C14

    #9B6C14

    oklch(56.6% 0.112 76.7)

  • #558540

    #558540

    oklch(56.5% 0.112 137)

Open the analogous palette in the generator

Split complementary

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

  • #7E7A1A

    #7E7A1A

    oklch(56.6% 0.112 107)

  • #4977B7

    #4977B7

    oklch(56.6% 0.112 256.9)

  • #9060A1

    #9060A1

    oklch(56.5% 0.111 316.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7A1A

    #7E7A1A

    oklch(56.6% 0.112 107)

  • #0082A8

    #0082A8

    oklch(56.6% 0.11 227.3)

  • #A55983

    #A55983

    oklch(56.6% 0.112 347)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7A1A

    #7E7A1A

    oklch(56.6% 0.112 107)

  • #00878A

    #00878A

    oklch(56.6% 0.096 197.5)

  • #726BB4

    #726BB4

    oklch(56.6% 0.111 286.7)

  • #AE585E

    #AE585E

    oklch(56.5% 0.112 17)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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