#7D8A46

Closest named color: Camo (#7F8F4E). oklch(60.7% 0.094 118.2), rgb(125, 138, 70).

Aa

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

About this color

#7D8A46 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.094 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.015 away. Black text reads best on it, at 5.59:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.59:1
White text3.75:1

Values

HEX#7D8A46
RGBrgb(125, 138, 70)
HSLhsl(71, 33%, 41%)
OKLCHoklch(60.7% 0.094 118.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 #7D8A46 3.75:1 AA large text Lc -70.5 Content text, not long reading
Black text on #7D8A46 5.59:1 AA Lc 39.0 Non-text elements, placeholder text
#7D8A46 text on white 3.75:1 AA large text Lc 65.0 Content text, not long reading
#7D8A46 text on black 5.59:1 AA Lc -36.6 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BDC5A4

    oklch(80.8% 0.046 118.5)

  5. Step 400

    400

    #9CA773

    oklch(70.6% 0.073 118)

  6. Step 500

    500 (this color)

    #7D8A46

    oklch(60.7% 0.094 118.2)

  7. Step 600

    600

    #6E7B2F

    oklch(55.6% 0.102 118)

  8. Step 700

    700

    #5C6822

    oklch(49.2% 0.095 118.3)

  9. Step 800

    800

    #4B551E

    oklch(42.8% 0.079 118.5)

  10. Step 900

    900

    #3F461E

    oklch(37.8% 0.061 117.6)

  11. Step 950

    950

    #252912

    oklch(27% 0.039 117.2)

Export this scale for Tailwind in the Tailwind colors tool

#7D8A46 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)#9284400.033
Deuteranopia (no green cones)#90844A0.034
Tritanopia (no blue cones)#83847A0.079
Achromatopsia (no color)#8484840.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D8A46

    #7D8A46

    oklch(60.7% 0.094 118.2)

  • #8976B3

    #8976B3

    oklch(60.7% 0.093 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D8A46

    #7D8A46

    oklch(60.7% 0.094 118.2)

  • #9A7F3A

    #9A7F3A

    oklch(60.8% 0.094 87.9)

  • #599262

    #599262

    oklch(60.7% 0.094 148.2)

Open the analogous palette in the generator

Split complementary

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

  • #7D8A46

    #7D8A46

    oklch(60.7% 0.094 118.2)

  • #6A80BB

    #6A80BB

    oklch(60.7% 0.094 267.9)

  • #A16E9F

    #A16E9F

    oklch(60.8% 0.094 328)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D8A46

    #7D8A46

    oklch(60.7% 0.094 118.2)

  • #468AB4

    #468AB4

    oklch(60.7% 0.094 238.1)

  • #B06A82

    #B06A82

    oklch(60.8% 0.094 358.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D8A46

    #7D8A46

    oklch(60.7% 0.094 118.2)

  • #2892A0

    #2892A0

    oklch(60.8% 0.094 208.1)

  • #8976B3

    #8976B3

    oklch(60.7% 0.093 297.9)

  • #B46C62

    #B46C62

    oklch(60.8% 0.094 28.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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