#ABB238#ABB238
#ABB238 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.142 H 112.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB238 |
|---|---|
| RGB | rgb(171, 178, 56) |
| HSL | hsl(63, 52%, 46%) |
| HSV | hsv(63, 69%, 70%) |
| CMYK | cmyk(3.9%, 0%, 68.5%, 30.2%) |
| CIE-LAB | lab(70.03, -17.86, 58.53) |
| CIE-LCH | lch(70.03, 61.19, 106.97°) |
| OKLab | oklab(73.55% -0.0546 0.131) |
| OKLCH | oklch(73.55% 0.142 112.6) |
| XYZ | xyz(33.4298, 40.7850, 9.8519) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.36
Puke Green
#9AAE07
ΔE00 3.98
Snot
#ACBB0D
ΔE00 4.06
Booger
#9BB53C
ΔE00 4.50
Vomit
#A2A415
ΔE00 4.51
Sick Green
#9DB92C
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB238 #3F38B2
analogous
#B27C38 #ABB238 #6EB238
triadic
#ABB238 #38ABB2 #B238AB
tetradic
#ABB238 #38B27C #3F38B2 #B2386E
square
#ABB238 #38B27C #3F38B2 #B2386E
split-complementary
#ABB238 #386EB2 #7C38B2
monochromatic
#52551B #7E8329 #ABB238 #C5CC5C #D6DA8A
Accessibility & contrast
On white
2.29
#ABB238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#ABB238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB238
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB238 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#BFAD41
Tritanopia (blue-blind)
#B6A79A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abb238; /* rgb */ color: rgb(171, 178, 56); /* oklch */ color: oklch(73.5% 0.142 112.6);
Tailwind
colors: {
custom: {
50: '#c7c876',
500: '#abb238',
950: '#000000',
},
}SCSS
$custom: #abb238; $custom-light: #c7c876; $custom-dark: #000000;
JSON
{
"hex": "#abb238",
"rgb": {
"r": 171,
"g": 178,
"b": 56
},
"hsl": {
"h": 63.443,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.73546,
"c": 0.14193,
"h": 112.6
},
"luminance": 0.40784
}Semantic roles & 50–950 ramp
primary
#ABB238
secondary
#8581C5
accent
#4CDC54
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B