#ABAF4D#ABAF4D
#ABAF4D is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.122 H 111.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF4D |
|---|---|
| RGB | rgb(171, 175, 77) |
| HSL | hsl(62, 39%, 49%) |
| HSV | hsv(62, 56%, 69%) |
| CMYK | cmyk(2.3%, 0%, 56%, 31.4%) |
| CIE-LAB | lab(69.37, -14.89, 48.83) |
| CIE-LCH | lch(69.37, 51.05, 106.96°) |
| OKLab | oklab(73.08% -0.044 0.1134) |
| OKLCH | oklch(73.08% 0.122 111.2) |
| XYZ | xyz(33.4649, 39.8544, 12.9495) |
| Luminance | 0.3985 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.18
Booger
#9BB53C
ΔE00 5.26
Khaki (survey)
#AAA662
ΔE00 5.43
Vomit
#A2A415
ΔE00 5.69
Light Olive
#ACBF69
ΔE00 6.07
Pea Soup Green
#94A617
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF4D #514DAF
analogous
#AF824D #ABAF4D #7AAF4D
triadic
#ABAF4D #4DABAF #AF4DAB
tetradic
#ABAF4D #4DAF82 #514DAF #AF4D7A
square
#ABAF4D #4DAF82 #514DAF #AF4D7A
split-complementary
#ABAF4D #4D7AAF #824DAF
monochromatic
#585A28 #81853A #ABAF4D #C0C376 #D3D6A1
Accessibility & contrast
On white
2.34
#ABAF4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#ABAF4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF4D
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF4D | 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)
#BBA843
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#B6A59A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf4d; /* rgb */ color: rgb(171, 175, 77); /* oklch */ color: oklch(73.1% 0.122 111.2);
Tailwind
colors: {
custom: {
50: '#c6c682',
500: '#abaf4d',
950: '#000000',
},
}SCSS
$custom: #abaf4d; $custom-light: #c6c682; $custom-dark: #000000;
JSON
{
"hex": "#abaf4d",
"rgb": {
"r": 171,
"g": 175,
"b": 77
},
"hsl": {
"h": 62.449,
"s": 38.889,
"l": 49.412
},
"oklch": {
"l": 0.73075,
"c": 0.12168,
"h": 111.2
},
"luminance": 0.39854
}Semantic roles & 50–950 ramp
primary
#ABAF4D
secondary
#9795C3
accent
#59CF5E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C