#ABC142
Closest named color: Pea (#A4BF20). oklch(77% 0.152 118.6), rgb(171, 193, 66).
Aa
Black text reads best on this color (10.43:1).
About this color
#ABC142 is a medium-light, vivid yellow. In OKLCH its lightness is 77%, its chroma 0.152 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.023 away. Black text reads best on it, at 10.43:1.
| Hue family | Yellows |
| Lightness | medium-light (77%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Pea (#A4BF20) |
| Black text | 10.43:1 |
| White text | 2.01:1 |
Values
| HEX | #ABC142 |
| RGB | rgb(171, 193, 66) |
| HSL | hsl(70, 51%, 51%) |
| OKLCH | oklch(77% 0.152 118.6) |
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 #ABC142 | 2.01:1 | Fails | Lc -43.4 | Non-text elements, placeholder text |
| Black text on #ABC142 | 10.43:1 | AAA | Lc 65.0 | Content text, not long reading |
| #ABC142 text on white | 2.01:1 | Fails | Lc 38.9 | Non-text elements, placeholder text |
| #ABC142 text on black | 10.43:1 | AAA | Lc -63.4 | 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
#F4F8E9
oklch(97.2% 0.02 118.9)
-
Step 100
100
#E6EFCE
oklch(93.7% 0.045 119.7)
-
Step 200
200
#D3E1A2
oklch(88.4% 0.084 118.3)
-
Step 300
300 (this color)
#ABC142
oklch(77% 0.152 118.6)
-
Step 400
400
#97AD00
oklch(70.6% 0.165 118.5)
-
Step 500
500
#819500
oklch(63.2% 0.148 118.8)
-
Step 600
600
#6C7D00
oklch(55.6% 0.13 118.8)
-
Step 700
700
#5B6900
oklch(49.2% 0.115 118.5)
-
Step 800
800
#4A5600
oklch(42.8% 0.1 118.6)
-
Step 900
900
#3D4700
oklch(37.6% 0.088 118.5)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#ABC142 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) | #CDB730 | 0.050 |
| Deuteranopia (no green cones) | #CBB74B | 0.054 |
| Tritanopia (no blue cones) | #B5B7A7 | 0.130 |
| Achromatopsia (no color) | #B7B7B7 | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ABC142
#ABC142
oklch(77% 0.152 118.6)
- #C0A0FF
#C0A0FF
oklch(77% 0.136 298.7)
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 #ABC142, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pea #A4BF20 ΔE 0.023
- Light Olive Green #A4BE5C ΔE 0.027
- Mustard Green #A8B504 ΔE 0.037
- Olive Yellow #C2B709 ΔE 0.038
- Bright Olive #9CBB04 ΔE 0.038
- Light Olive #ACBF69 ΔE 0.039
- Yellow Green #9ACD32 ΔE 0.042
- Light Moss Green #A6C875 ΔE 0.045
Use #ABC142 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.