#A4AB1F#A4AB1F
#A4AB1F is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.2% C 0.150 H 112.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A4AB1F |
|---|---|
| RGB | rgb(164, 171, 31) |
| HSL | hsl(63, 69%, 40%) |
| HSV | hsv(63, 82%, 67%) |
| CMYK | cmyk(4.1%, 0%, 81.9%, 32.9%) |
| CIE-LAB | lab(67.37, -18.44, 64.10) |
| CIE-LCH | lch(67.37, 66.70, 106.05°) |
| OKLab | oklab(71.24% -0.058 0.1387) |
| OKLCH | oklch(71.24% 0.15 112.7) |
| XYZ | xyz(30.1211, 37.1180, 6.8738) |
| Luminance | 0.3712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.23
Puke
#A5A502
ΔE00 2.60
Puke Green
#9AAE07
ΔE00 2.90
Mustard Green
#A8B504
ΔE00 3.20
Pea Soup Green
#94A617
ΔE00 3.35
Barf Green
#94AC02
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4AB1F #261FAB
analogous
#AB6C1F #A4AB1F #5EAB1F
triadic
#A4AB1F #1FA4AB #AB1FA4
tetradic
#A4AB1F #1FAB6C #261FAB #AB1F5E
square
#A4AB1F #1FAB6C #261FAB #AB1F5E
split-complementary
#A4AB1F #1F5EAB #6C1FAB
monochromatic
#41430C #727716 #A4AB1F #D1D92E #DCE362
Accessibility & contrast
On white
2.49
#A4AB1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#A4AB1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4AB1F
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4AB1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4AB1F | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A52D
Tritanopia (blue-blind)
#B0A092
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a4ab1f; /* rgb */ color: rgb(164, 171, 31); /* oklch */ color: oklch(71.2% 0.150 112.7);
Tailwind
colors: {
custom: {
50: '#c3c369',
500: '#a4ab1f',
950: '#000000',
},
}SCSS
$custom: #a4ab1f; $custom-light: #c3c369; $custom-dark: #000000;
JSON
{
"hex": "#a4ab1f",
"rgb": {
"r": 164,
"g": 171,
"b": 31
},
"hsl": {
"h": 63,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.71236,
"c": 0.15029,
"h": 112.7
},
"luminance": 0.37117
}Semantic roles & 50–950 ramp
primary
#A4AB1F
secondary
#645EC7
accent
#3CEC44
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A