#8CB312

Closest named color: Dark Lime (#84B701). oklch(71.2% 0.173 124.1), rgb(140, 179, 18).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (71%)
Chromavivid (0.173)
Temperaturein between
Nearest nameDark Lime (#84B701)
Black text8.57:1
White text2.44:1

Values

HEX#8CB312
RGBrgb(140, 179, 18)
HSLhsl(75, 82%, 39%)
OKLCHoklch(71.2% 0.173 124.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 #8CB312 2.44:1 Fails Lc -53.0 Large or bold text, headings
Black text on #8CB312 8.57:1 AAA Lc 56.0 Large or bold text, headings
#8CB312 text on white 2.44:1 Fails Lc 48.0 Large or bold text, headings
#8CB312 text on black 8.57:1 AAA Lc -54.0 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

    #E5EED7

    oklch(93.6% 0.032 124.5)

  3. Step 200

    200

    #D1E0B5

    oklch(88.4% 0.059 123.2)

  4. Step 300

    300

    #B2CD7E

    oklch(81% 0.108 124.1)

  5. Step 400

    400 (this color)

    #8CB312

    oklch(71.2% 0.173 124.1)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #526B00

    oklch(49% 0.122 124.1)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#8CB312 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)#BEA7000.074
Deuteranopia (no green cones)#B9A5290.075
Tritanopia (no blue cones)#93AA980.142
Achromatopsia (no color)#A5A5A50.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #8CB312

    #8CB312

    oklch(71.2% 0.173 124.1)

  • #BA83F9

    #BA83F9

    oklch(71.3% 0.173 303.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8CB312

    #8CB312

    oklch(71.2% 0.173 124.1)

  • #C09F00

    #C09F00

    oklch(71.1% 0.146 94)

  • #1DC06E

    #1DC06E

    oklch(71.2% 0.173 154.1)

Open the analogous palette in the generator

Split complementary

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

  • #8CB312

    #8CB312

    oklch(71.2% 0.173 124.1)

  • #8699FF

    #8699FF

    oklch(71.3% 0.15 274)

  • #E174CE

    #E174CE

    oklch(71.3% 0.173 334.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8CB312

    #8CB312

    oklch(71.2% 0.173 124.1)

  • #2BAAFF

    #2BAAFF

    oklch(71.1% 0.162 244.3)

  • #F76D96

    #F76D96

    oklch(71.3% 0.173 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8CB312

    #8CB312

    oklch(71.2% 0.173 124.1)

  • #00B5D2

    #00B5D2

    oklch(71.1% 0.125 214.6)

  • #BA83F9

    #BA83F9

    oklch(71.3% 0.173 303.9)

  • #FB7354

    #FB7354

    oklch(71.3% 0.173 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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