#7C8F4B

Closest named color: Camo (#7F8F4E). oklch(61.9% 0.096 122.1), rgb(124, 143, 75).

Aa

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

About this color

#7C8F4B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.096 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.006 away. Black text reads best on it, at 5.88:1.

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

Values

HEX#7C8F4B
RGBrgb(124, 143, 75)
HSLhsl(77, 31%, 43%)
OKLCHoklch(61.9% 0.096 122.1)

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 #7C8F4B 3.56:1 AA large text Lc -68.7 Content text, not long reading
Black text on #7C8F4B 5.88:1 AA Lc 40.9 Non-text elements, placeholder text
#7C8F4B text on white 3.56:1 AA large text Lc 63.2 Content text, not long reading
#7C8F4B text on black 5.88:1 AA Lc -38.5 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

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BBC6A5

    oklch(80.9% 0.047 122.4)

  5. Step 400

    400

    #98A874

    oklch(70.6% 0.074 122.2)

  6. Step 500

    500 (this color)

    #7C8F4B

    oklch(61.9% 0.096 122.1)

  7. Step 600

    600

    #697D31

    oklch(55.7% 0.105 122.2)

  8. Step 700

    700

    #586923

    oklch(49.1% 0.097 121.7)

  9. Step 800

    800

    #48561F

    oklch(42.8% 0.081 121.9)

  10. Step 900

    900

    #3C471F

    oklch(37.8% 0.063 122.2)

  11. Step 950

    950

    #232A13

    oklch(27.1% 0.04 123)

Export this scale for Tailwind in the Tailwind colors tool

#7C8F4B 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)#9688450.040
Deuteranopia (no green cones)#94884F0.041
Tritanopia (no blue cones)#81897F0.079
Achromatopsia (no color)#8888880.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8F4B

    #7C8F4B

    oklch(61.9% 0.096 122.1)

  • #9178B6

    #9178B6

    oklch(62% 0.095 302.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8F4B

    #7C8F4B

    oklch(61.9% 0.096 122.1)

  • #9A843C

    #9A843C

    oklch(61.9% 0.095 92.4)

  • #569669

    #569669

    oklch(61.8% 0.095 152.3)

Open the analogous palette in the generator

Split complementary

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

  • #7C8F4B

    #7C8F4B

    oklch(61.9% 0.096 122.1)

  • #7282C0

    #7282C0

    oklch(61.9% 0.096 272.3)

  • #A8709F

    #A8709F

    oklch(61.9% 0.095 332.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8F4B

    #7C8F4B

    oklch(61.9% 0.096 122.1)

  • #4D8DBB

    #4D8DBB

    oklch(62% 0.096 241.8)

  • #B56D81

    #B56D81

    oklch(61.9% 0.094 2.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8F4B

    #7C8F4B

    oklch(61.9% 0.096 122.1)

  • #2C95A7

    #2C95A7

    oklch(61.9% 0.095 211.6)

  • #9178B6

    #9178B6

    oklch(62% 0.095 302.2)

  • #B86F61

    #B86F61

    oklch(61.8% 0.096 31.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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