#A6C40E

Closest named color: Pea (#A4BF20). oklch(77.1% 0.181 120.2), rgb(166, 196, 14).

Aa

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

About this color

#A6C40E is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.181 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.016 away. Black text reads best on it, at 10.52:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromavivid (0.181)
Temperaturein between
Nearest namePea (#A4BF20)
Black text10.52:1
White text1.99:1

Values

HEX#A6C40E
RGBrgb(166, 196, 14)
HSLhsl(70, 87%, 41%)
OKLCHoklch(77.1% 0.181 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 #A6C40E 1.99:1 Fails Lc -42.8 Non-text elements, placeholder text
Black text on #A6C40E 10.52:1 AAA Lc 65.5 Content text, not long reading
#A6C40E text on white 1.99:1 Fails Lc 38.4 Non-text elements, placeholder text
#A6C40E text on black 10.52:1 AAA Lc -64.0 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

    #F3F8E6

    oklch(97.1% 0.024 119.5)

  2. Step 100

    100

    #E5F0C9

    oklch(93.7% 0.053 120.2)

  3. Step 200

    200

    #D0E498

    oklch(88.6% 0.101 120.5)

  4. Step 300

    300 (this color)

    #A6C40E

    oklch(77.1% 0.181 120.2)

  5. Step 400

    400

    #93AF00

    oklch(70.7% 0.169 120.5)

  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

    #222B00

    oklch(27.1% 0.065 121.1)

Export this scale for Tailwind in the Tailwind colors tool

#A6C40E 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)#D1B8000.065
Deuteranopia (no green cones)#CEB82A0.066
Tritanopia (no blue cones)#B0B9A70.154
Achromatopsia (no color)#B7B7B70.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #A6C40E

    #A6C40E

    oklch(77.1% 0.181 120.2)

  • #C39FFF

    #C39FFF

    oklch(77.1% 0.138 300.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A6C40E

    #A6C40E

    oklch(77.1% 0.181 120.2)

  • #DBAF00

    #DBAF00

    oklch(77.2% 0.158 90.5)

  • #46D374

    #46D374

    oklch(76.9% 0.18 150.4)

Open the analogous palette in the generator

Split complementary

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

  • #A6C40E

    #A6C40E

    oklch(77.1% 0.181 120.2)

  • #98B0FF

    #98B0FF

    oklch(77% 0.117 270.6)

  • #F385EA

    #F385EA

    oklch(77% 0.181 330.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A6C40E

    #A6C40E

    oklch(77.1% 0.181 120.2)

  • #5CBFFF

    #5CBFFF

    oklch(77.1% 0.13 239.9)

  • #FF8AB0

    #FF8AB0

    oklch(77.1% 0.147 0.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A6C40E

    #A6C40E

    oklch(77.1% 0.181 120.2)

  • #00CBE3

    #00CBE3

    oklch(77.1% 0.133 209.8)

  • #C39FFF

    #C39FFF

    oklch(77.1% 0.138 300.5)

  • #FF917F

    #FF917F

    oklch(77% 0.136 30.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A6C40E.

Similar named colors

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

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