#A5A234#A5A234
#A5A234 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.129 H 107.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A234 |
|---|---|
| RGB | rgb(165, 162, 52) |
| HSL | hsl(58, 52%, 43%) |
| HSV | hsv(58, 68%, 65%) |
| CMYK | cmyk(0%, 1.8%, 68.5%, 35.3%) |
| CIE-LAB | lab(65.03, -12.45, 54.92) |
| CIE-LCH | lch(65.03, 56.31, 102.77°) |
| OKLab | oklab(69.43% -0.0395 0.1229) |
| OKLCH | oklch(69.43% 0.129 107.8) |
| XYZ | xyz(29.0583, 34.0889, 8.2973) |
| Luminance | 0.3409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.82
Puke
#A5A502
ΔE00 3.53
Pea Soup
#929901
ΔE00 4.85
Baby Poop Green
#8F9805
ΔE00 5.32
Pea Soup Green
#94A617
ΔE00 5.33
Puke Green
#9AAE07
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A234 #3437A5
analogous
#A56934 #A5A234 #70A534
triadic
#A5A234 #34A5A2 #A234A5
tetradic
#A5A234 #34A569 #3437A5 #A53470
square
#A5A234 #34A569 #3437A5 #A53470
split-complementary
#A5A234 #3470A5 #6934A5
monochromatic
#484717 #767425 #A5A234 #C7C44F #D6D47D
Accessibility & contrast
On white
2.69
#A5A234 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A5A234 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A234
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A234 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A234 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 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)
#AF9C24
Deuteranopia (green-blind)
#B1A03B
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a234; /* rgb */ color: rgb(165, 162, 52); /* oklch */ color: oklch(69.4% 0.129 107.8);
Tailwind
colors: {
custom: {
50: '#c3bd72',
500: '#a5a234',
950: '#000000',
},
}SCSS
$custom: #a5a234; $custom-light: #c3bd72; $custom-dark: #000000;
JSON
{
"hex": "#a5a234",
"rgb": {
"r": 165,
"g": 162,
"b": 52
},
"hsl": {
"h": 58.407,
"s": 52.074,
"l": 42.549
},
"oklch": {
"l": 0.69428,
"c": 0.1291,
"h": 107.8
},
"luminance": 0.34088
}Semantic roles & 50–950 ramp
primary
#A5A234
secondary
#7678BF
accent
#50DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B