#ABC42D
Closest named color: Pea (#A4BF20). oklch(77.5% 0.168 119), rgb(171, 196, 45).
Aa
Black text reads best on this color (10.66:1).
About this color
#ABC42D is a medium-light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.168 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea (#A4BF20), ΔE 0.018 away. Black text reads best on it, at 10.66:1.
| Hue family | Yellows |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.168) |
| Temperature | in between |
| Nearest name | Pea (#A4BF20) |
| Black text | 10.66:1 |
| White text | 1.96:1 |
Values
| HEX | #ABC42D |
| RGB | rgb(171, 196, 45) |
| HSL | hsl(70, 63%, 47%) |
| OKLCH | oklch(77.5% 0.168 119) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #ABC42D | 1.96:1 | Fails | Lc -42.2 | Non-text elements, placeholder text |
| Black text on #ABC42D | 10.66:1 | AAA | Lc 66.1 | Content text, not long reading |
| #ABC42D text on white | 1.96:1 | Fails | Lc 37.8 | Non-text elements, placeholder text |
| #ABC42D text on black | 10.66:1 | AAA | Lc -64.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.
-
Step 50
50
#F3F8E7
oklch(97.1% 0.023 120.2)
-
Step 100
100
#E6EFCB
oklch(93.6% 0.048 118.7)
-
Step 200
200
#D2E29C
oklch(88.4% 0.093 118.8)
-
Step 300
300 (this color)
#ABC42D
oklch(77.5% 0.168 119)
-
Step 400
400
#96AE00
oklch(70.7% 0.166 119.1)
-
Step 500
500
#809500
oklch(63.1% 0.149 119.2)
-
Step 600
600
#6C7D00
oklch(55.6% 0.13 118.8)
-
Step 700
700
#5A6900
oklch(49.1% 0.115 119)
-
Step 800
800
#495600
oklch(42.7% 0.101 119.3)
-
Step 900
900
#3D4800
oklch(37.8% 0.089 119.1)
-
Step 950
950
#232A00
oklch(26.9% 0.063 118.9)
#ABC42D 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #D1B900 | 0.056 |
| Deuteranopia (no green cones) | #CEB93B | 0.059 |
| Tritanopia (no blue cones) | #B5B9A8 | 0.144 |
| Achromatopsia (no color) | #B9B9B9 | 0.169 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ABC42D
#ABC42D
oklch(77.5% 0.168 119)
- #C2A2FF
#C2A2FF
oklch(77.6% 0.133 299.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #ABC42D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea #A4BF20 ΔE 0.018
- Yellow Green #9ACD32 ΔE 0.030
- Bright Olive #9CBB04 ΔE 0.035
- Slime Green #99CC04 ΔE 0.036
- Mustard Green #A8B504 ΔE 0.040
- Olive Yellow #C2B709 ΔE 0.042
- Light Olive Green #A4BE5C ΔE 0.043
- Mustard Yellow #D2BD0A ΔE 0.054
Use #ABC42D 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.