#A5AB38#A5AB38
#A5AB38 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.5% C 0.136 H 112.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AB38 |
|---|---|
| RGB | rgb(165, 171, 56) |
| HSL | hsl(63, 51%, 45%) |
| HSV | hsv(63, 67%, 67%) |
| CMYK | cmyk(3.5%, 0%, 67.3%, 32.9%) |
| CIE-LAB | lab(67.58, -16.87, 55.91) |
| CIE-LCH | lch(67.58, 58.40, 106.79°) |
| OKLab | oklab(71.47% -0.0514 0.1257) |
| OKLCH | oklch(71.47% 0.136 112.3) |
| XYZ | xyz(30.7947, 37.4114, 9.3395) |
| Luminance | 0.3741 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.38
Pea Soup Green
#94A617
ΔE00 3.87
Puke Green
#9AAE07
ΔE00 4.10
Puke
#A5A502
ΔE00 4.11
Mustard Green
#A8B504
ΔE00 4.68
Barf Green
#94AC02
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AB38 #3E38AB
analogous
#AB7738 #A5AB38 #6CAB38
triadic
#A5AB38 #38A5AB #AB38A5
tetradic
#A5AB38 #38AB77 #3E38AB #AB386C
square
#A5AB38 #38AB77 #3E38AB #AB386C
split-complementary
#A5AB38 #386CAB #7738AB
monochromatic
#4C4F1A #797D29 #A5AB38 #C2C858 #D3D786
Accessibility & contrast
On white
2.48
#A5AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#A5AB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AB38
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AB38 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A327
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#B0A194
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a5ab38; /* rgb */ color: rgb(165, 171, 56); /* oklch */ color: oklch(71.5% 0.136 112.3);
Tailwind
colors: {
custom: {
50: '#c3c375',
500: '#a5ab38',
950: '#000000',
},
}SCSS
$custom: #a5ab38; $custom-light: #c3c375; $custom-dark: #000000;
JSON
{
"hex": "#a5ab38",
"rgb": {
"r": 165,
"g": 171,
"b": 56
},
"hsl": {
"h": 63.13,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.71475,
"c": 0.13579,
"h": 112.3
},
"luminance": 0.37411
}Semantic roles & 50–950 ramp
primary
#A5AB38
secondary
#817DC1
accent
#4EDA55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B