#ABC642

Closest named color: Pea (#A4BF20). oklch(78.1% 0.158 120.2), rgb(171, 198, 66).

Aa

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

About this color

#ABC642 is a light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.158 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.027 away. Black text reads best on it, at 10.88:1.

Hue familyYellows
Lightnesslight (78%)
Chromavivid (0.158)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.88:1
White text1.92:1

Values

HEX#ABC642
RGBrgb(171, 198, 66)
HSLhsl(72, 54%, 52%)
OKLCHoklch(78.1% 0.158 120.2)

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 #ABC642 1.92:1 Fails Lc -41.1 Non-text elements, placeholder text
Black text on #ABC642 10.88:1 AAA Lc 67.1 Content text, not long reading
#ABC642 text on white 1.92:1 Fails Lc 36.8 Non-text elements, placeholder text
#ABC642 text on black 10.88:1 AAA Lc -65.6 Content text, not long reading

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

  1. Step 50

    50

    #F3F8E8

    oklch(97.1% 0.022 121)

  2. Step 100

    100

    #E5EFCD

    oklch(93.6% 0.046 120.6)

  3. Step 200

    200

    #D1E2A1

    oklch(88.4% 0.087 120.1)

  4. Step 300

    300 (this color)

    #ABC642

    oklch(78.1% 0.158 120.2)

  5. Step 400

    400

    #94AF00

    oklch(70.8% 0.168 120.1)

  6. Step 500

    500

    #7E9600

    oklch(63.2% 0.151 120.4)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#ABC642 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)#D2BB2F0.057
Deuteranopia (no green cones)#CFBB4C0.059
Tritanopia (no blue cones)#B4BCAB0.133
Achromatopsia (no color)#BBBBBB0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #ABC642

    #ABC642

    oklch(78.1% 0.158 120.2)

  • #C5A4FF

    #C5A4FF

    oklch(78.2% 0.131 300.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ABC642

    #ABC642

    oklch(78.1% 0.158 120.2)

  • #DFB20C

    #DFB20C

    oklch(78.2% 0.158 90.1)

  • #61D480

    #61D480

    oklch(78.2% 0.159 150.1)

Open the analogous palette in the generator

Split complementary

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

  • #ABC642

    #ABC642

    oklch(78.1% 0.158 120.2)

  • #9CB4FF

    #9CB4FF

    oklch(78.1% 0.111 270.1)

  • #F090E7

    #F090E7

    oklch(78.2% 0.158 330.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ABC642

    #ABC642

    oklch(78.1% 0.158 120.2)

  • #66C2FF

    #66C2FF

    oklch(78.2% 0.124 240)

  • #FF90B4

    #FF90B4

    oklch(78.1% 0.139 0.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ABC642

    #ABC642

    oklch(78.1% 0.158 120.2)

  • #00CEE8

    #00CEE8

    oklch(78.1% 0.135 210.7)

  • #C5A4FF

    #C5A4FF

    oklch(78.2% 0.131 300.1)

  • #FF9786

    #FF9786

    oklch(78.1% 0.128 30.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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