#A5A232#A5A232
#A5A232 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.130 H 107.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A232 |
|---|---|
| RGB | rgb(165, 162, 50) |
| HSL | hsl(58, 53%, 42%) |
| HSV | hsv(58, 70%, 65%) |
| CMYK | cmyk(0%, 1.8%, 69.7%, 35.3%) |
| CIE-LAB | lab(65.02, -12.56, 55.69) |
| CIE-LCH | lch(65.02, 57.09, 102.71°) |
| OKLab | oklab(69.41% -0.04 0.1242) |
| OKLCH | oklch(69.41% 0.13 107.8) |
| XYZ | xyz(29.0142, 34.0712, 8.0650) |
| Luminance | 0.3407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.62
Puke
#A5A502
ΔE00 3.32
Pea Soup
#929901
ΔE00 4.75
Baby Poop Green
#8F9805
ΔE00 5.24
Pea Soup Green
#94A617
ΔE00 5.27
Puke Green
#9AAE07
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A232 #3235A5
analogous
#A56932 #A5A232 #6EA532
triadic
#A5A232 #32A5A2 #A232A5
tetradic
#A5A232 #32A569 #3235A5 #A5326E
square
#A5A232 #32A569 #3235A5 #A5326E
split-complementary
#A5A232 #326EA5 #6932A5
monochromatic
#474616 #767424 #A5A232 #C9C54C #D7D47B
Accessibility & contrast
On white
2.69
#A5A232 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A5A232 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A232
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A232 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A232 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C20
Deuteranopia (green-blind)
#B1A03A
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a232; /* rgb */ color: rgb(165, 162, 50); /* oklch */ color: oklch(69.4% 0.130 107.8);
Tailwind
colors: {
custom: {
50: '#c3bd71',
500: '#a5a232',
950: '#000000',
},
}SCSS
$custom: #a5a232; $custom-light: #c3bd71; $custom-dark: #000000;
JSON
{
"hex": "#a5a232",
"rgb": {
"r": 165,
"g": 162,
"b": 50
},
"hsl": {
"h": 58.435,
"s": 53.488,
"l": 42.157
},
"oklch": {
"l": 0.69412,
"c": 0.13049,
"h": 107.8
},
"luminance": 0.3407
}Semantic roles & 50–950 ramp
primary
#A5A232
secondary
#7375BF
accent
#4FDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B