#7C8B2B

Closest named color: Khaki Green (#728639). oklch(60.6% 0.12 117.8), rgb(124, 139, 43).

Aa

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

About this color

#7C8B2B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.120 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.025 away. Black text reads best on it, at 5.58:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.58:1
White text3.76:1

Values

HEX#7C8B2B
RGBrgb(124, 139, 43)
HSLhsl(69, 53%, 36%)
OKLCHoklch(60.6% 0.12 117.8)

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 #7C8B2B 3.76:1 AA large text Lc -70.6 Content text, not long reading
Black text on #7C8B2B 5.58:1 AA Lc 39.0 Non-text elements, placeholder text
#7C8B2B text on white 3.76:1 AA large text Lc 65.1 Content text, not long reading
#7C8B2B text on black 5.58: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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDF

    oklch(93.7% 0.018 117.3)

  3. Step 200

    200

    #D7DCC4

    oklch(88.4% 0.033 116.6)

  4. Step 300

    300

    #BDC69B

    oklch(80.8% 0.059 117.3)

  5. Step 400

    400

    #9BA963

    oklch(70.7% 0.095 118.1)

  6. Step 500

    500 (this color)

    #7C8B2B

    oklch(60.6% 0.12 117.8)

  7. Step 600

    600

    #6D7C00

    oklch(55.4% 0.129 117.8)

  8. Step 700

    700

    #5C6900

    oklch(49.2% 0.114 117.9)

  9. Step 800

    800

    #4B5600

    oklch(42.8% 0.1 117.9)

  10. Step 900

    900

    #3E470D

    oklch(37.7% 0.079 118.2)

  11. Step 950

    950

    #242A0A

    oklch(27.1% 0.051 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C8B2B 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)#94831D0.039
Deuteranopia (no green cones)#9384320.041
Tritanopia (no blue cones)#8483780.105
Achromatopsia (no color)#8484840.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C8B2B

    #7C8B2B

    oklch(60.6% 0.12 117.8)

  • #8B71C0

    #8B71C0

    oklch(60.6% 0.12 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C8B2B

    #7C8B2B

    oklch(60.6% 0.12 117.8)

  • #A07C0D

    #A07C0D

    oklch(60.5% 0.12 87.5)

  • #499557

    #499557

    oklch(60.5% 0.12 148)

Open the analogous palette in the generator

Split complementary

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

  • #7C8B2B

    #7C8B2B

    oklch(60.6% 0.12 117.8)

  • #637ECA

    #637ECA

    oklch(60.6% 0.12 267.9)

  • #A866A6

    #A866A6

    oklch(60.5% 0.12 328)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C8B2B

    #7C8B2B

    oklch(60.6% 0.12 117.8)

  • #268BC1

    #268BC1

    oklch(60.6% 0.121 237.8)

  • #BA6182

    #BA6182

    oklch(60.6% 0.12 357.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C8B2B

    #7C8B2B

    oklch(60.6% 0.12 117.8)

  • #0093A2

    #0093A2

    oklch(60.6% 0.104 207.5)

  • #8B71C0

    #8B71C0

    oklch(60.6% 0.12 297.9)

  • #BF6358

    #BF6358

    oklch(60.5% 0.12 28.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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