#A5A233#A5A233
#A5A233 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.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A233 |
|---|---|
| RGB | rgb(165, 162, 51) |
| HSL | hsl(58, 53%, 42%) |
| HSV | hsv(58, 69%, 65%) |
| CMYK | cmyk(0%, 1.8%, 69.1%, 35.3%) |
| CIE-LAB | lab(65.03, -12.50, 55.31) |
| CIE-LCH | lch(65.03, 56.71, 102.74°) |
| OKLab | oklab(69.42% -0.0397 0.1236) |
| OKLCH | oklch(69.42% 0.13 107.8) |
| XYZ | xyz(29.0360, 34.0799, 8.1799) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.72
Puke
#A5A502
ΔE00 3.42
Pea Soup
#929901
ΔE00 4.80
Baby Poop Green
#8F9805
ΔE00 5.28
Pea Soup Green
#94A617
ΔE00 5.30
Puke Green
#9AAE07
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A233 #3336A5
analogous
#A56933 #A5A233 #6FA533
triadic
#A5A233 #33A5A2 #A233A5
tetradic
#A5A233 #33A569 #3336A5 #A5336F
square
#A5A233 #33A569 #3336A5 #A5336F
split-complementary
#A5A233 #336FA5 #6933A5
monochromatic
#484616 #767425 #A5A233 #C8C54D #D6D47C
Accessibility & contrast
On white
2.69
#A5A233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#A5A233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A233
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A233 | 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)
#AF9C22
Deuteranopia (green-blind)
#B1A03B
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a233; /* rgb */ color: rgb(165, 162, 51); /* oklch */ color: oklch(69.4% 0.130 107.8);
Tailwind
colors: {
custom: {
50: '#c3bd72',
500: '#a5a233',
950: '#000000',
},
}SCSS
$custom: #a5a233; $custom-light: #c3bd72; $custom-dark: #000000;
JSON
{
"hex": "#a5a233",
"rgb": {
"r": 165,
"g": 162,
"b": 51
},
"hsl": {
"h": 58.421,
"s": 52.778,
"l": 42.353
},
"oklch": {
"l": 0.6942,
"c": 0.1298,
"h": 107.8
},
"luminance": 0.34079
}Semantic roles & 50–950 ramp
primary
#A5A233
secondary
#7577BF
accent
#4FDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B