#A5A538#A5A538
#A5A538 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.129 H 109.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A538 |
|---|---|
| RGB | rgb(165, 165, 56) |
| HSL | hsl(60, 49%, 43%) |
| HSV | hsv(60, 66%, 65%) |
| CMYK | cmyk(0%, 0%, 66.1%, 35.3%) |
| CIE-LAB | lab(65.90, -13.78, 54.18) |
| CIE-LCH | lch(65.90, 55.91, 104.27°) |
| OKLab | oklab(70.13% -0.0428 0.122) |
| OKLCH | oklch(70.13% 0.129 109.3) |
| XYZ | xyz(29.6870, 35.1960, 8.9703) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.90
Puke
#A5A502
ΔE00 3.71
Pea Soup Green
#94A617
ΔE00 4.75
Pea Soup
#929901
ΔE00 5.23
Baby Poop Green
#8F9805
ΔE00 5.63
Puke Green
#9AAE07
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A538 #3838A5
analogous
#A56E38 #A5A538 #6EA538
triadic
#A5A538 #38A5A5 #A538A5
tetradic
#A5A538 #38A56E #3838A5 #A5386E
square
#A5A538 #38A56E #3838A5 #A5386E
split-complementary
#A5A538 #386EA5 #6E38A5
monochromatic
#4A4A19 #777728 #A5A538 #C5C555 #D5D583
Accessibility & contrast
On white
2.61
#A5A538 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#A5A538 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A538
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A538 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#B09B8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a5a538; /* rgb */ color: rgb(165, 165, 56); /* oklch */ color: oklch(70.1% 0.129 109.3);
Tailwind
colors: {
custom: {
50: '#c3bf75',
500: '#a5a538',
950: '#000000',
},
}SCSS
$custom: #a5a538; $custom-light: #c3bf75; $custom-dark: #000000;
JSON
{
"hex": "#a5a538",
"rgb": {
"r": 165,
"g": 165,
"b": 56
},
"hsl": {
"h": 60,
"s": 49.321,
"l": 43.333
},
"oklch": {
"l": 0.7013,
"c": 0.12931,
"h": 109.3
},
"luminance": 0.35195
}Semantic roles & 50–950 ramp
primary
#A5A538
secondary
#7A7ABE
accent
#4FD94F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B