#7C8A4D

Closest named color: Camo (#7F8F4E). oklch(60.7% 0.086 119.6), rgb(124, 138, 77).

Aa

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

About this color

#7C8A4D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.086 and its hue 120°. 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.086)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.59:1
White text3.75:1

Values

HEX#7C8A4D
RGBrgb(124, 138, 77)
HSLhsl(74, 28%, 42%)
OKLCHoklch(60.7% 0.086 119.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 #7C8A4D 3.75:1 AA large text Lc -70.5 Content text, not long reading
Black text on #7C8A4D 5.59:1 AA Lc 39.1 Non-text elements, placeholder text
#7C8A4D text on white 3.75:1 AA large text Lc 65.0 Content text, not long reading
#7C8A4D 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE2

    oklch(93.6% 0.012 116.8)

  3. Step 200

    200

    #D7DCCB

    oklch(88.6% 0.023 120.2)

  4. Step 300

    300

    #BDC5A7

    oklch(80.9% 0.042 119.5)

  5. Step 400

    400

    #9BA777

    oklch(70.7% 0.068 119.6)

  6. Step 500

    500 (this color)

    #7C8A4D

    oklch(60.7% 0.086 119.6)

  7. Step 600

    600

    #6D7B38

    oklch(55.6% 0.093 119.3)

  8. Step 700

    700

    #5B682A

    oklch(49.2% 0.088 119.6)

  9. Step 800

    800

    #4A5524

    oklch(42.8% 0.073 120.1)

  10. Step 900

    900

    #3E4622

    oklch(37.7% 0.057 119.5)

  11. Step 950

    950

    #242915

    oklch(27% 0.035 120.3)

Export this scale for Tailwind in the Tailwind colors tool

#7C8A4D 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)#9184480.033
Deuteranopia (no green cones)#8F84500.033
Tritanopia (no blue cones)#81847B0.072
Achromatopsia (no color)#8484840.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8A4D

    #7C8A4D

    oklch(60.7% 0.086 119.6)

  • #8A77AF

    #8A77AF

    oklch(60.8% 0.086 299.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8A4D

    #7C8A4D

    oklch(60.7% 0.086 119.6)

  • #978042

    #978042

    oklch(60.8% 0.086 89.4)

  • #5C9166

    #5C9166

    oklch(60.7% 0.086 149.3)

Open the analogous palette in the generator

Split complementary

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

  • #7C8A4D

    #7C8A4D

    oklch(60.7% 0.086 119.6)

  • #6E80B7

    #6E80B7

    oklch(60.8% 0.087 269.8)

  • #A06F9B

    #A06F9B

    oklch(60.7% 0.087 330.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8A4D

    #7C8A4D

    oklch(60.7% 0.086 119.6)

  • #4E89B1

    #4E89B1

    oklch(60.7% 0.087 240)

  • #AD6C81

    #AD6C81

    oklch(60.7% 0.087 359.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8A4D

    #7C8A4D

    oklch(60.7% 0.086 119.6)

  • #37909F

    #37909F

    oklch(60.7% 0.086 210.6)

  • #8A77AF

    #8A77AF

    oklch(60.8% 0.086 299.4)

  • #B06E64

    #B06E64

    oklch(60.7% 0.086 29.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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