#A5AB1F#A5AB1F
#A5AB1F is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.150 H 112.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB1F |
|---|---|
| RGB | rgb(165, 171, 31) |
| HSL | hsl(63, 69%, 40%) |
| HSV | hsv(63, 82%, 67%) |
| CMYK | cmyk(3.5%, 0%, 81.9%, 32.9%) |
| CIE-LAB | lab(67.45, -18.01, 64.20) |
| CIE-LCH | lch(67.45, 66.68, 105.67°) |
| OKLab | oklab(71.32% -0.0568 0.1388) |
| OKLCH | oklch(71.32% 0.15 112.3) |
| XYZ | xyz(30.3283, 37.2248, 6.8836) |
| Luminance | 0.3722 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.14
Puke
#A5A502
ΔE00 2.44
Puke Green
#9AAE07
ΔE00 3.12
Mustard Green
#A8B504
ΔE00 3.23
Pea Soup Green
#94A617
ΔE00 3.58
Barf Green
#94AC02
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB1F #251FAB
analogous
#AB6B1F #A5AB1F #5FAB1F
triadic
#A5AB1F #1FA5AB #AB1FA5
tetradic
#A5AB1F #1FAB6B #251FAB #AB1F5F
square
#A5AB1F #1FAB6B #251FAB #AB1F5F
split-complementary
#A5AB1F #1F5FAB #6B1FAB
monochromatic
#41430C #737716 #A5AB1F #D2D92E #DDE362
Accessibility & contrast
On white
2.49
#A5AB1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#A5AB1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB1F
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB1F | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B9A62D
Tritanopia (blue-blind)
#B1A092
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5ab1f; /* rgb */ color: rgb(165, 171, 31); /* oklch */ color: oklch(71.3% 0.150 112.3);
Tailwind
colors: {
custom: {
50: '#c4c369',
500: '#a5ab1f',
950: '#000000',
},
}SCSS
$custom: #a5ab1f; $custom-light: #c4c369; $custom-dark: #000000;
JSON
{
"hex": "#a5ab1f",
"rgb": {
"r": 165,
"g": 171,
"b": 31
},
"hsl": {
"h": 62.571,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.7132,
"c": 0.15001,
"h": 112.3
},
"luminance": 0.37224
}Semantic roles & 50–950 ramp
primary
#A5AB1F
secondary
#635EC7
accent
#3CEC43
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A