#ABB231#ABB231
#ABB231 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.146 H 112.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB231 |
|---|---|
| RGB | rgb(171, 178, 49) |
| HSL | hsl(63, 57%, 45%) |
| HSV | hsv(63, 72%, 70%) |
| CMYK | cmyk(3.9%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.98, -18.23, 61.08) |
| CIE-LCH | lch(69.98, 63.74, 106.61°) |
| OKLab | oklab(73.5% -0.0563 0.1352) |
| OKLCH | oklch(73.5% 0.146 112.6) |
| XYZ | xyz(33.2704, 40.7212, 9.0125) |
| Luminance | 0.4072 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.74
Snot
#ACBB0D
ΔE00 3.56
Puke Green
#9AAE07
ΔE00 3.66
Vomit
#A2A415
ΔE00 4.24
Puke
#A5A502
ΔE00 4.44
Sick Green
#9DB92C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB231 #3831B2
analogous
#B27931 #ABB231 #6BB231
triadic
#ABB231 #31ABB2 #B231AB
tetradic
#ABB231 #31B279 #3831B2 #B2316B
square
#ABB231 #31B279 #3831B2 #B2316B
split-complementary
#ABB231 #316BB2 #7931B2
monochromatic
#4F5217 #7D8224 #ABB231 #C8CF51 #D7DC81
Accessibility & contrast
On white
2.30
#ABB231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#ABB231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB231
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB231 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA18
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#B7A799
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abb231; /* rgb */ color: rgb(171, 178, 49); /* oklch */ color: oklch(73.5% 0.146 112.6);
Tailwind
colors: {
custom: {
50: '#c7c872',
500: '#abb231',
950: '#000000',
},
}SCSS
$custom: #abb231; $custom-light: #c7c872; $custom-dark: #000000;
JSON
{
"hex": "#abb231",
"rgb": {
"r": 171,
"g": 178,
"b": 49
},
"hsl": {
"h": 63.256,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.73495,
"c": 0.14645,
"h": 112.6
},
"luminance": 0.4072
}Semantic roles & 50–950 ramp
primary
#ABB231
secondary
#7D79C5
accent
#48E050
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B