#ABAF3F#ABAF3F
#ABAF3F is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.134 H 111.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #ABAF3F |
|---|---|
| RGB | rgb(171, 175, 63) |
| HSL | hsl(62, 47%, 47%) |
| HSV | hsv(62, 64%, 69%) |
| CMYK | cmyk(2.3%, 0%, 64%, 31.4%) |
| CIE-LAB | lab(69.24, -15.91, 54.90) |
| CIE-LCH | lch(69.24, 57.16, 106.16°) |
| OKLab | oklab(72.93% -0.0484 0.1245) |
| OKLCH | oklch(72.93% 0.134 111.2) |
| XYZ | xyz(33.0227, 39.6775, 10.6206) |
| Luminance | 0.3968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.30
Mustard Green
#A8B504
ΔE00 4.59
Puke
#A5A502
ΔE00 4.79
Puke Green
#9AAE07
ΔE00 4.81
Booger
#9BB53C
ΔE00 5.07
Pea Soup Green
#94A617
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABAF3F #433FAF
analogous
#AF7B3F #ABAF3F #73AF3F
triadic
#ABAF3F #3FABAF #AF3FAB
tetradic
#ABAF3F #3FAF7B #433FAF #AF3F73
square
#ABAF3F #3FAF7B #433FAF #AF3F73
split-complementary
#ABAF3F #3F73AF #7B3FAF
monochromatic
#53551F #7F822F #ABAF3F #C4C764 #D5D791
Accessibility & contrast
On white
2.35
#ABAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#ABAF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABAF3F
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABAF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABAF3F | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA730
Deuteranopia (green-blind)
#BDAB46
Tritanopia (blue-blind)
#B6A598
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #abaf3f; /* rgb */ color: rgb(171, 175, 63); /* oklch */ color: oklch(72.9% 0.134 111.2);
Tailwind
colors: {
custom: {
50: '#c7c67a',
500: '#abaf3f',
950: '#000000',
},
}SCSS
$custom: #abaf3f; $custom-light: #c7c67a; $custom-dark: #000000;
JSON
{
"hex": "#abaf3f",
"rgb": {
"r": 171,
"g": 175,
"b": 63
},
"hsl": {
"h": 62.143,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.72934,
"c": 0.13355,
"h": 111.2
},
"luminance": 0.39677
}Semantic roles & 50–950 ramp
primary
#ABAF3F
secondary
#8987C3
accent
#51D756
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B