#ABAF74#ABAF74
#ABAF74 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.079 H 111.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF74 |
|---|---|
| RGB | rgb(171, 175, 116) |
| HSL | hsl(64, 27%, 57%) |
| HSV | hsv(64, 34%, 69%) |
| CMYK | cmyk(2.3%, 0%, 33.7%, 31.4%) |
| CIE-LAB | lab(69.88, -10.85, 29.84) |
| CIE-LCH | lch(69.88, 31.75, 109.98°) |
| OKLab | oklab(73.65% -0.0291 0.0739) |
| OKLCH | oklch(73.65% 0.079 111.5) |
| XYZ | xyz(35.2771, 40.5793, 22.4938) |
| Luminance | 0.4058 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.00
Darkkhaki
#BDB76B
ΔE00 5.29
Tan Green
#A9BE70
ΔE00 5.97
Light Olive
#ACBF69
ΔE00 6.56
Sage Green
#9CAF88
ΔE00 7.19
Sand
#C2B280
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF74 #7874AF
analogous
#AF9674 #ABAF74 #8EAF74
triadic
#ABAF74 #74ABAF #AF74AB
tetradic
#ABAF74 #74AF96 #7874AF #AF748E
square
#ABAF74 #74AF96 #7874AF #AF748E
split-complementary
#ABAF74 #748EAF #9674AF
monochromatic
#686B3E #8E9254 #ABAF74 #C2C59B #DADCC2
Accessibility & contrast
On white
2.30
#ABAF74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#ABAF74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF74
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF74 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8AA70
Deuteranopia (green-blind)
#B8AC76
Tritanopia (blue-blind)
#B2A8A0
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abaf74; /* rgb */ color: rgb(171, 175, 116); /* oklch */ color: oklch(73.7% 0.079 111.5);
Tailwind
colors: {
custom: {
50: '#c5c69c',
500: '#abaf74',
950: '#000000',
},
}SCSS
$custom: #abaf74; $custom-light: #c5c69c; $custom-dark: #000000;
JSON
{
"hex": "#abaf74",
"rgb": {
"r": 171,
"g": 175,
"b": 116
},
"hsl": {
"h": 64.068,
"s": 26.941,
"l": 57.059
},
"oklch": {
"l": 0.73652,
"c": 0.07937,
"h": 111.5
},
"luminance": 0.40579
}Semantic roles & 50–950 ramp
primary
#ABAF74
secondary
#B5B3CB
accent
#65C36B
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E