#7C8D52

Closest named color: Camo (#7F8F4E). oklch(61.5% 0.085 122), rgb(124, 141, 82).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.78:1
White text3.62:1

Values

HEX#7C8D52
RGBrgb(124, 141, 82)
HSLhsl(77, 26%, 44%)
OKLCHoklch(61.5% 0.085 122)

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 #7C8D52 3.62:1 AA large text Lc -69.3 Content text, not long reading
Black text on #7C8D52 5.78:1 AA Lc 40.2 Non-text elements, placeholder text
#7C8D52 text on white 3.62:1 AA large text Lc 63.8 Content text, not long reading
#7C8D52 text on black 5.78:1 AA Lc -37.8 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BCC5A8

    oklch(80.9% 0.041 121.3)

  5. Step 400

    400

    #99A879

    oklch(70.8% 0.067 122.5)

  6. Step 500

    500 (this color)

    #7C8D52

    oklch(61.5% 0.085 122)

  7. Step 600

    600

    #6A7C3B

    oklch(55.6% 0.093 122.2)

  8. Step 700

    700

    #58682D

    oklch(49% 0.086 122.2)

  9. Step 800

    800

    #485526

    oklch(42.6% 0.072 122.3)

  10. Step 900

    900

    #3D4624

    oklch(37.7% 0.054 121.2)

  11. Step 950

    950

    #232916

    oklch(26.9% 0.034 123)

Export this scale for Tailwind in the Tailwind colors tool

#7C8D52 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)#93874D0.035
Deuteranopia (no green cones)#9186550.037
Tritanopia (no blue cones)#80887F0.070
Achromatopsia (no color)#8686860.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8D52

    #7C8D52

    oklch(61.5% 0.085 122)

  • #8E78AF

    #8E78AF

    oklch(61.4% 0.085 302.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8D52

    #7C8D52

    oklch(61.5% 0.085 122)

  • #978346

    #978346

    oklch(61.5% 0.084 91.7)

  • #5C946B

    #5C946B

    oklch(61.6% 0.086 151.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C8D52

    #7C8D52

    oklch(61.5% 0.085 122)

  • #7382B8

    #7382B8

    oklch(61.6% 0.084 271.8)

  • #A3729B

    #A3729B

    oklch(61.6% 0.084 332.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8D52

    #7C8D52

    oklch(61.5% 0.085 122)

  • #548BB3

    #548BB3

    oklch(61.5% 0.084 241.5)

  • #AF6F81

    #AF6F81

    oklch(61.5% 0.084 1.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8D52

    #7C8D52

    oklch(61.5% 0.085 122)

  • #3C92A2

    #3C92A2

    oklch(61.4% 0.085 211.9)

  • #8E78AF

    #8E78AF

    oklch(61.4% 0.085 302.3)

  • #B27164

    #B27164

    oklch(61.5% 0.086 31.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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