#A5A238#A5A238
#A5A238 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.126 H 107.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A238 |
|---|---|
| RGB | rgb(165, 162, 56) |
| HSL | hsl(58, 49%, 43%) |
| HSV | hsv(58, 66%, 65%) |
| CMYK | cmyk(0%, 1.8%, 66.1%, 35.3%) |
| CIE-LAB | lab(65.06, -12.21, 53.32) |
| CIE-LCH | lch(65.06, 54.70, 102.90°) |
| OKLab | oklab(69.46% -0.0384 0.1202) |
| OKLCH | oklch(69.46% 0.126 107.7) |
| XYZ | xyz(29.1522, 34.1264, 8.7920) |
| Luminance | 0.3413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.24
Puke
#A5A502
ΔE00 3.98
Pea Soup
#929901
ΔE00 5.10
Pea Soup Green
#94A617
ΔE00 5.50
Baby Poop Green
#8F9805
ΔE00 5.52
Khaki (survey)
#AAA662
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A238 #383BA5
analogous
#A56B38 #A5A238 #71A538
triadic
#A5A238 #38A5A2 #A238A5
tetradic
#A5A238 #38A56B #383BA5 #A53871
square
#A5A238 #38A56B #383BA5 #A53871
split-complementary
#A5A238 #3871A5 #6B38A5
monochromatic
#4A4819 #777528 #A5A238 #C5C255 #D5D383
Accessibility & contrast
On white
2.68
#A5A238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A5A238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A238
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A238 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C2A
Deuteranopia (green-blind)
#B1A03F
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a238; /* rgb */ color: rgb(165, 162, 56); /* oklch */ color: oklch(69.5% 0.126 107.7);
Tailwind
colors: {
custom: {
50: '#c3bd74',
500: '#a5a238',
950: '#000000',
},
}SCSS
$custom: #a5a238; $custom-light: #c3bd74; $custom-dark: #000000;
JSON
{
"hex": "#a5a238",
"rgb": {
"r": 165,
"g": 162,
"b": 56
},
"hsl": {
"h": 58.349,
"s": 49.321,
"l": 43.333
},
"oklch": {
"l": 0.69461,
"c": 0.12619,
"h": 107.7
},
"luminance": 0.34126
}Semantic roles & 50–950 ramp
primary
#A5A238
secondary
#7A7CBE
accent
#53D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B