#ABAF4E#ABAF4E
#ABAF4E is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.121 H 111.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF4E |
|---|---|
| RGB | rgb(171, 175, 78) |
| HSL | hsl(62, 38%, 50%) |
| HSV | hsv(62, 55%, 69%) |
| CMYK | cmyk(2.3%, 0%, 55.4%, 31.4%) |
| CIE-LAB | lab(69.38, -14.81, 48.37) |
| CIE-LCH | lch(69.38, 50.59, 107.02°) |
| OKLab | oklab(73.09% -0.0437 0.1126) |
| OKLCH | oklch(73.09% 0.121 111.2) |
| XYZ | xyz(33.5005, 39.8687, 13.1369) |
| Luminance | 0.3987 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.09
Booger
#9BB53C
ΔE00 5.31
Khaki (survey)
#AAA662
ΔE00 5.32
Vomit
#A2A415
ΔE00 5.81
Light Olive
#ACBF69
ΔE00 6.00
Light Olive Green
#A4BE5C
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF4E #524EAF
analogous
#AF834E #ABAF4E #7BAF4E
triadic
#ABAF4E #4EABAF #AF4EAB
tetradic
#ABAF4E #4EAF83 #524EAF #AF4E7B
square
#ABAF4E #4EAF83 #524EAF #AF4E7B
split-complementary
#ABAF4E #4E7BAF #834EAF
monochromatic
#585A28 #82853B #ABAF4E #C0C378 #D3D6A2
Accessibility & contrast
On white
2.34
#ABAF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#ABAF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF4E
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF4E | 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)
#BBA844
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#B5A59A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf4e; /* rgb */ color: rgb(171, 175, 78); /* oklch */ color: oklch(73.1% 0.121 111.2);
Tailwind
colors: {
custom: {
50: '#c6c683',
500: '#abaf4e',
950: '#000000',
},
}SCSS
$custom: #abaf4e; $custom-light: #c6c683; $custom-dark: #000000;
JSON
{
"hex": "#abaf4e",
"rgb": {
"r": 171,
"g": 175,
"b": 78
},
"hsl": {
"h": 62.474,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.73087,
"c": 0.12075,
"h": 111.2
},
"luminance": 0.39868
}Semantic roles & 50–950 ramp
primary
#ABAF4E
secondary
#9896C3
accent
#5ACE5E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C