#ABAF28#ABAF28
#ABAF28 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.148 H 111.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF28 |
|---|---|
| RGB | rgb(171, 175, 40) |
| HSL | hsl(62, 63%, 42%) |
| HSV | hsv(62, 77%, 69%) |
| CMYK | cmyk(2.3%, 0%, 77.1%, 31.4%) |
| CIE-LAB | lab(69.09, -17.11, 63.25) |
| CIE-LCH | lch(69.09, 65.52, 105.13°) |
| OKLab | oklab(72.77% -0.0539 0.1382) |
| OKLCH | oklch(72.77% 0.148 111.3) |
| XYZ | xyz(32.5087, 39.4719, 7.9135) |
| Luminance | 0.3947 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.85
Vomit
#A2A415
ΔE00 3.23
Puke
#A5A502
ΔE00 3.27
Puke Green
#9AAE07
ΔE00 3.80
Snot
#ACBB0D
ΔE00 4.01
Pea Soup Green
#94A617
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF28 #2C28AF
analogous
#AF7028 #ABAF28 #67AF28
triadic
#ABAF28 #28ABAF #AF28AB
tetradic
#ABAF28 #28AF70 #2C28AF #AF2867
square
#ABAF28 #28AF70 #2C28AF #AF2867
split-complementary
#ABAF28 #2867AF #7028AF
monochromatic
#4A4B11 #7A7D1D #ABAF28 #CFD441 #DCDF73
Accessibility & contrast
On white
2.36
#ABAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#ABAF28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF28
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF28 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf28; /* rgb */ color: rgb(171, 175, 40); /* oklch */ color: oklch(72.8% 0.148 111.3);
Tailwind
colors: {
custom: {
50: '#c8c66e',
500: '#abaf28',
950: '#000000',
},
}SCSS
$custom: #abaf28; $custom-light: #c8c66e; $custom-dark: #000000;
JSON
{
"hex": "#abaf28",
"rgb": {
"r": 171,
"g": 175,
"b": 40
},
"hsl": {
"h": 61.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.72769,
"c": 0.14833,
"h": 111.3
},
"luminance": 0.39471
}Semantic roles & 50–950 ramp
primary
#ABAF28
secondary
#6F6DC6
accent
#42E647
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B