#A5A338#A5A338
#A5A338 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.127 H 108.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A338 |
|---|---|
| RGB | rgb(165, 163, 56) |
| HSL | hsl(59, 49%, 43%) |
| HSV | hsv(59, 66%, 65%) |
| CMYK | cmyk(0%, 1.2%, 66.1%, 35.3%) |
| CIE-LAB | lab(65.34, -12.74, 53.61) |
| CIE-LCH | lch(65.34, 55.10, 103.36°) |
| OKLab | oklab(69.68% -0.0398 0.1208) |
| OKLCH | oklch(69.68% 0.127 108.2) |
| XYZ | xyz(29.3291, 34.4801, 8.8510) |
| Luminance | 0.3448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.08
Puke
#A5A502
ΔE00 3.86
Pea Soup
#929901
ΔE00 5.12
Pea Soup Green
#94A617
ΔE00 5.23
Baby Poop Green
#8F9805
ΔE00 5.53
Khaki (survey)
#AAA662
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A338 #383AA5
analogous
#A56C38 #A5A338 #70A538
triadic
#A5A338 #38A5A3 #A338A5
tetradic
#A5A338 #38A56C #383AA5 #A53870
square
#A5A338 #38A56C #383AA5 #A53870
split-complementary
#A5A338 #3870A5 #6C38A5
monochromatic
#4A4919 #777628 #A5A338 #C5C355 #D5D383
Accessibility & contrast
On white
2.66
#A5A338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A5A338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A338
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A338 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#B2A03F
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a338; /* rgb */ color: rgb(165, 163, 56); /* oklch */ color: oklch(69.7% 0.127 108.2);
Tailwind
colors: {
custom: {
50: '#c3be74',
500: '#a5a338',
950: '#000000',
},
}SCSS
$custom: #a5a338; $custom-light: #c3be74; $custom-dark: #000000;
JSON
{
"hex": "#a5a338",
"rgb": {
"r": 165,
"g": 163,
"b": 56
},
"hsl": {
"h": 58.899,
"s": 49.321,
"l": 43.333
},
"oklch": {
"l": 0.69684,
"c": 0.12722,
"h": 108.2
},
"luminance": 0.34479
}Semantic roles & 50–950 ramp
primary
#A5A338
secondary
#7A7CBE
accent
#51D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B