#ABAF4F#ABAF4F
#ABAF4F is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.120 H 111.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF4F |
|---|---|
| RGB | rgb(171, 175, 79) |
| HSL | hsl(63, 38%, 50%) |
| HSV | hsv(63, 55%, 69%) |
| CMYK | cmyk(2.3%, 0%, 54.9%, 31.4%) |
| CIE-LAB | lab(69.39, -14.73, 47.92) |
| CIE-LCH | lch(69.39, 50.13, 107.09°) |
| OKLab | oklab(73.1% -0.0433 0.1117) |
| OKLCH | oklch(73.1% 0.12 111.2) |
| XYZ | xyz(33.5366, 39.8831, 13.3272) |
| Luminance | 0.3988 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.01
Khaki (survey)
#AAA662
ΔE00 5.21
Booger
#9BB53C
ΔE00 5.35
Light Olive
#ACBF69
ΔE00 5.92
Vomit
#A2A415
ΔE00 5.93
Light Olive Green
#A4BE5C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF4F #534FAF
analogous
#AF834F #ABAF4F #7BAF4F
triadic
#ABAF4F #4FABAF #AF4FAB
tetradic
#ABAF4F #4FAF83 #534FAF #AF4F7B
square
#ABAF4F #4FAF83 #534FAF #AF4F7B
split-complementary
#ABAF4F #4F7BAF #834FAF
monochromatic
#595B29 #82853C #ABAF4F #BFC279 #D3D5A3
Accessibility & contrast
On white
2.34
#ABAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#ABAF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF4F
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF4F | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA845
Deuteranopia (green-blind)
#BCAB54
Tritanopia (blue-blind)
#B5A59A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf4f; /* rgb */ color: rgb(171, 175, 79); /* oklch */ color: oklch(73.1% 0.120 111.2);
Tailwind
colors: {
custom: {
50: '#c6c683',
500: '#abaf4f',
950: '#000000',
},
}SCSS
$custom: #abaf4f; $custom-light: #c6c683; $custom-dark: #000000;
JSON
{
"hex": "#abaf4f",
"rgb": {
"r": 171,
"g": 175,
"b": 79
},
"hsl": {
"h": 62.5,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.73098,
"c": 0.11983,
"h": 111.2
},
"luminance": 0.39882
}Semantic roles & 50–950 ramp
primary
#ABAF4F
secondary
#9997C3
accent
#5ACE5F
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C