#8CB522

Closest named color: Dark Lime (#84B701). oklch(71.8% 0.17 124.9), rgb(140, 181, 34).

Aa

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

About this color

#8CB522 is a medium-light, vivid yellow. In OKLCH its lightness is 72%, its chroma 0.170 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lime (#84B701), ΔE 0.016 away. Black text reads best on it, at 8.74:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromavivid (0.170)
Temperaturein between
Nearest nameDark Lime (#84B701)
Black text8.74:1
White text2.40:1

Values

HEX#8CB522
RGBrgb(140, 181, 34)
HSLhsl(77, 68%, 42%)
OKLCHoklch(71.8% 0.17 124.9)

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 #8CB522 2.40:1 Fails Lc -52.1 Large or bold text, headings
Black text on #8CB522 8.74:1 AAA Lc 56.9 Large or bold text, headings
#8CB522 text on white 2.40:1 Fails Lc 47.1 Large or bold text, headings
#8CB522 text on black 8.74:1 AAA Lc -54.9 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E5EED8

    oklch(93.6% 0.031 125.2)

  3. Step 200

    200

    #D0E1B6

    oklch(88.6% 0.06 125.2)

  4. Step 300

    300

    #B1CD80

    oklch(80.9% 0.106 125)

  5. Step 400

    400 (this color)

    #8CB522

    oklch(71.8% 0.17 124.9)

  6. Step 500

    500

    #749900

    oklch(63.2% 0.159 125)

  7. Step 600

    600

    #618000

    oklch(55.5% 0.139 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #364A00

    oklch(37.8% 0.095 125.3)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#8CB522 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)#BFA9000.073
Deuteranopia (no green cones)#BAA7320.075
Tritanopia (no blue cones)#93AC9B0.139
Achromatopsia (no color)#A7A7A70.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #8CB522

    #8CB522

    oklch(71.8% 0.17 124.9)

  • #BD85F8

    #BD85F8

    oklch(71.8% 0.17 305)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8CB522

    #8CB522

    oklch(71.8% 0.17 124.9)

  • #C1A200

    #C1A200

    oklch(71.9% 0.148 95.2)

  • #22C273

    #22C273

    oklch(71.8% 0.17 155)

Open the analogous palette in the generator

Split complementary

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

  • #8CB522

    #8CB522

    oklch(71.8% 0.17 124.9)

  • #8A9AFF

    #8A9AFF

    oklch(71.7% 0.148 275.2)

  • #E276CE

    #E276CE

    oklch(71.7% 0.17 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8CB522

    #8CB522

    oklch(71.8% 0.17 124.9)

  • #38ACFF

    #38ACFF

    oklch(71.9% 0.157 244.7)

  • #F87096

    #F87096

    oklch(71.8% 0.17 4.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8CB522

    #8CB522

    oklch(71.8% 0.17 124.9)

  • #00B7D5

    #00B7D5

    oklch(71.7% 0.127 215)

  • #BD85F8

    #BD85F8

    oklch(71.8% 0.17 305)

  • #FB7656

    #FB7656

    oklch(71.7% 0.17 34.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8CB522 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.