#7A7E52

Closest named color: Drab (#828344). oklch(57.8% 0.063 112.6), rgb(122, 126, 82).

Aa

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

About this color

#7A7E52 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.063 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.028 away. Black text reads best on it, at 4.93:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.063)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.93:1
White text4.25:1

Values

HEX#7A7E52
RGBrgb(122, 126, 82)
HSLhsl(65, 21%, 41%)
OKLCHoklch(57.8% 0.063 112.6)

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 #7A7E52 4.25:1 AA large text Lc -74.9 Content text, not long reading
Black text on #7A7E52 4.93:1 AA Lc 34.7 Non-text elements, placeholder text
#7A7E52 text on white 4.25:1 AA large text Lc 69.4 Content text, not long reading
#7A7E52 text on black 4.93:1 AA Lc -32.3 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACF

    oklch(88.5% 0.015 110.9)

  4. Step 300

    300

    #C0C3AE

    oklch(80.9% 0.029 113.6)

  5. Step 400

    400

    #A0A484

    oklch(70.7% 0.045 113.3)

  6. Step 500

    500

    #898D65

    oklch(63% 0.057 112.7)

  7. Step 600

    600 (this color)

    #7A7E52

    oklch(57.8% 0.063 112.6)

  8. Step 700

    700

    #61643D

    oklch(49% 0.058 112.1)

  9. Step 800

    800

    #4F5232

    oklch(42.7% 0.049 112.8)

  10. Step 900

    900

    #42442C

    oklch(37.8% 0.038 112.1)

  11. Step 950

    950

    #26281A

    oklch(27% 0.025 114.7)

Export this scale for Tailwind in the Tailwind colors tool

#7A7E52 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)#847A4F0.017
Deuteranopia (no green cones)#847B540.018
Tritanopia (no blue cones)#7F79730.055
Achromatopsia (no color)#7B7B7B0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A7E52

    #7A7E52

    oklch(57.8% 0.063 112.6)

  • #7B739C

    #7B739C

    oklch(57.8% 0.063 293.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A7E52

    #7A7E52

    oklch(57.8% 0.063 112.6)

  • #8C774E

    #8C774E

    oklch(57.9% 0.063 83.5)

  • #648461

    #648461

    oklch(57.9% 0.064 142.5)

Open the analogous palette in the generator

Split complementary

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

  • #7A7E52

    #7A7E52

    oklch(57.8% 0.063 112.6)

  • #667AA0

    #667AA0

    oklch(57.8% 0.063 263)

  • #8C6E90

    #8C6E90

    oklch(57.9% 0.062 322.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A7E52

    #7A7E52

    oklch(57.8% 0.063 112.6)

  • #528199

    #528199

    oklch(57.9% 0.063 231.6)

  • #986B7D

    #986B7D

    oklch(58% 0.062 353.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A7E52

    #7A7E52

    oklch(57.8% 0.063 112.6)

  • #49858A

    #49858A

    oklch(57.8% 0.063 202.6)

  • #7B739C

    #7B739C

    oklch(57.8% 0.063 293.3)

  • #9C6B69

    #9C6B69

    oklch(57.8% 0.063 21.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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