#ABAF2E#ABAF2E
#ABAF2E is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.145 H 111.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF2E |
|---|---|
| RGB | rgb(171, 175, 46) |
| HSL | hsl(62, 58%, 43%) |
| HSV | hsv(62, 74%, 69%) |
| CMYK | cmyk(2.3%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(69.12, -16.85, 61.31) |
| CIE-LCH | lch(69.12, 63.58, 105.37°) |
| OKLab | oklab(72.8% -0.0527 0.1352) |
| OKLCH | oklch(72.8% 0.145 111.3) |
| XYZ | xyz(32.6188, 39.5160, 8.4933) |
| Luminance | 0.3952 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.17
Vomit
#A2A415
ΔE00 3.36
Puke
#A5A502
ΔE00 3.54
Puke Green
#9AAE07
ΔE00 3.92
Snot
#ACBB0D
ΔE00 4.25
Pea Soup Green
#94A617
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF2E #322EAF
analogous
#AF722E #ABAF2E #6BAF2E
triadic
#ABAF2E #2EABAF #AF2EAB
tetradic
#ABAF2E #2EAF72 #322EAF #AF2E6B
square
#ABAF2E #2EAF72 #322EAF #AF2E6B
split-complementary
#ABAF2E #2E6BAF #722EAF
monochromatic
#4C4E15 #7C7F21 #ABAF2E #CBD04B #D9DC7B
Accessibility & contrast
On white
2.36
#ABAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#ABAF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF2E
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF2E | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#BEAA38
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf2e; /* rgb */ color: rgb(171, 175, 46); /* oklch */ color: oklch(72.8% 0.145 111.3);
Tailwind
colors: {
custom: {
50: '#c7c671',
500: '#abaf2e',
950: '#000000',
},
}SCSS
$custom: #abaf2e; $custom-light: #c7c671; $custom-dark: #000000;
JSON
{
"hex": "#abaf2e",
"rgb": {
"r": 171,
"g": 175,
"b": 46
},
"hsl": {
"h": 61.86,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.72804,
"c": 0.14507,
"h": 111.3
},
"luminance": 0.39515
}Semantic roles & 50–950 ramp
primary
#ABAF2E
secondary
#7774C5
accent
#46E24B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B