#ABAF27#ABAF27
#ABAF27 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.149 H 111.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF27 |
|---|---|
| RGB | rgb(171, 175, 39) |
| HSL | hsl(62, 64%, 42%) |
| HSV | hsv(62, 78%, 69%) |
| CMYK | cmyk(2.3%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(69.09, -17.15, 63.55) |
| CIE-LCH | lch(69.09, 65.82, 105.10°) |
| OKLab | oklab(72.76% -0.0541 0.1386) |
| OKLCH | oklch(72.76% 0.149 111.3) |
| XYZ | xyz(32.4919, 39.4652, 7.8250) |
| Luminance | 0.3946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.80
Vomit
#A2A415
ΔE00 3.21
Puke
#A5A502
ΔE00 3.23
Puke Green
#9AAE07
ΔE00 3.79
Snot
#ACBB0D
ΔE00 3.98
Pea Soup Green
#94A617
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF27 #2B27AF
analogous
#AF6F27 #ABAF27 #67AF27
triadic
#ABAF27 #27ABAF #AF27AB
tetradic
#ABAF27 #27AF6F #2B27AF #AF2767
square
#ABAF27 #27AF6F #2B27AF #AF2767
split-complementary
#ABAF27 #2767AF #6F27AF
monochromatic
#494B11 #7A7D1C #ABAF27 #D0D43F #DCDF71
Accessibility & contrast
On white
2.36
#ABAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#ABAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF27
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF27 | 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)
#BEAA33
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf27; /* rgb */ color: rgb(171, 175, 39); /* oklch */ color: oklch(72.8% 0.149 111.3);
Tailwind
colors: {
custom: {
50: '#c8c66d',
500: '#abaf27',
950: '#000000',
},
}SCSS
$custom: #abaf27; $custom-light: #c8c66d; $custom-dark: #000000;
JSON
{
"hex": "#abaf27",
"rgb": {
"r": 171,
"g": 175,
"b": 39
},
"hsl": {
"h": 61.765,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.72763,
"c": 0.14883,
"h": 111.3
},
"luminance": 0.39464
}Semantic roles & 50–950 ramp
primary
#ABAF27
secondary
#6E6BC6
accent
#41E746
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A