#ABAF4C#ABAF4C
#ABAF4C is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.123 H 111.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF4C |
|---|---|
| RGB | rgb(171, 175, 76) |
| HSL | hsl(62, 39%, 49%) |
| HSV | hsv(62, 57%, 69%) |
| CMYK | cmyk(2.3%, 0%, 56.6%, 31.4%) |
| CIE-LAB | lab(69.36, -14.97, 49.28) |
| CIE-LCH | lch(69.36, 51.50, 106.90°) |
| OKLab | oklab(73.06% -0.0443 0.1143) |
| OKLCH | oklch(73.06% 0.123 111.2) |
| XYZ | xyz(33.4299, 39.8404, 12.7650) |
| Luminance | 0.3984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 5.22
Darkkhaki
#BDB76B
ΔE00 5.27
Khaki (survey)
#AAA662
ΔE00 5.54
Vomit
#A2A415
ΔE00 5.58
Pea Soup Green
#94A617
ΔE00 6.01
Puke Green
#9AAE07
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF4C #504CAF
analogous
#AF824C #ABAF4C #7AAF4C
triadic
#ABAF4C #4CABAF #AF4CAB
tetradic
#ABAF4C #4CAF82 #504CAF #AF4C7A
square
#ABAF4C #4CAF82 #504CAF #AF4C7A
split-complementary
#ABAF4C #4C7AAF #824CAF
monochromatic
#585A27 #818439 #ABAF4C #C0C375 #D3D6A0
Accessibility & contrast
On white
2.34
#ABAF4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#ABAF4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF4C
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF4C | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA842
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#B6A599
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf4c; /* rgb */ color: rgb(171, 175, 76); /* oklch */ color: oklch(73.1% 0.123 111.2);
Tailwind
colors: {
custom: {
50: '#c6c682',
500: '#abaf4c',
950: '#000000',
},
}SCSS
$custom: #abaf4c; $custom-light: #c6c682; $custom-dark: #000000;
JSON
{
"hex": "#abaf4c",
"rgb": {
"r": 171,
"g": 175,
"b": 76
},
"hsl": {
"h": 62.424,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.73064,
"c": 0.1226,
"h": 111.2
},
"luminance": 0.3984
}Semantic roles & 50–950 ramp
primary
#ABAF4C
secondary
#9694C2
accent
#58CF5D
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C