#A5A237#A5A237
#A5A237 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.127 H 107.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A237 |
|---|---|
| RGB | rgb(165, 162, 55) |
| HSL | hsl(58, 50%, 43%) |
| HSV | hsv(58, 67%, 65%) |
| CMYK | cmyk(0%, 1.8%, 66.7%, 35.3%) |
| CIE-LAB | lab(65.06, -12.27, 53.73) |
| CIE-LCH | lch(65.06, 55.11, 102.87°) |
| OKLab | oklab(69.45% -0.0386 0.1209) |
| OKLCH | oklch(69.45% 0.127 107.7) |
| XYZ | xyz(29.1280, 34.1167, 8.6645) |
| Luminance | 0.3412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.13
Puke
#A5A502
ΔE00 3.87
Pea Soup
#929901
ΔE00 5.03
Pea Soup Green
#94A617
ΔE00 5.46
Baby Poop Green
#8F9805
ΔE00 5.46
Khaki (survey)
#AAA662
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A237 #373AA5
analogous
#A56B37 #A5A237 #71A537
triadic
#A5A237 #37A5A2 #A237A5
tetradic
#A5A237 #37A56B #373AA5 #A53771
square
#A5A237 #37A56B #373AA5 #A53771
split-complementary
#A5A237 #3771A5 #6B37A5
monochromatic
#494818 #777528 #A5A237 #C6C353 #D5D381
Accessibility & contrast
On white
2.68
#A5A237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A5A237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A237
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A237 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C28
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a237; /* rgb */ color: rgb(165, 162, 55); /* oklch */ color: oklch(69.5% 0.127 107.7);
Tailwind
colors: {
custom: {
50: '#c3bd74',
500: '#a5a237',
950: '#000000',
},
}SCSS
$custom: #a5a237; $custom-light: #c3bd74; $custom-dark: #000000;
JSON
{
"hex": "#a5a237",
"rgb": {
"r": 165,
"g": 162,
"b": 55
},
"hsl": {
"h": 58.364,
"s": 50,
"l": 43.137
},
"oklch": {
"l": 0.69453,
"c": 0.12693,
"h": 107.7
},
"luminance": 0.34116
}Semantic roles & 50–950 ramp
primary
#A5A237
secondary
#797BBF
accent
#52DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B