#A5A136#A5A136
#A5A136 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.127 H 107.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A136 |
|---|---|
| RGB | rgb(165, 161, 54) |
| HSL | hsl(58, 51%, 43%) |
| HSV | hsv(58, 67%, 65%) |
| CMYK | cmyk(0%, 2.4%, 67.3%, 35.3%) |
| CIE-LAB | lab(64.77, -11.81, 53.84) |
| CIE-LCH | lch(64.77, 55.12, 102.37°) |
| OKLab | oklab(69.22% -0.0374 0.121) |
| OKLCH | oklch(69.22% 0.127 107.2) |
| XYZ | xyz(28.9288, 33.7564, 8.4811) |
| Luminance | 0.3376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.23
Puke
#A5A502
ΔE00 3.91
Pea Soup
#929901
ΔE00 4.98
Baby Poop Green
#8F9805
ΔE00 5.42
Pea Soup Green
#94A617
ΔE00 5.70
Khaki (survey)
#AAA662
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A136 #363AA5
analogous
#A56936 #A5A136 #71A536
triadic
#A5A136 #36A5A1 #A136A5
tetradic
#A5A136 #36A569 #363AA5 #A53671
square
#A5A136 #36A569 #363AA5 #A53671
split-complementary
#A5A136 #3671A5 #6936A5
monochromatic
#494718 #777427 #A5A136 #C6C252 #D5D280
Accessibility & contrast
On white
2.71
#A5A136 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A5A136 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A136
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A136 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A136 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B27
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#B1978B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a5a136; /* rgb */ color: rgb(165, 161, 54); /* oklch */ color: oklch(69.2% 0.127 107.2);
Tailwind
colors: {
custom: {
50: '#c3bc73',
500: '#a5a136',
950: '#000000',
},
}SCSS
$custom: #a5a136; $custom-light: #c3bc73; $custom-dark: #000000;
JSON
{
"hex": "#a5a136",
"rgb": {
"r": 165,
"g": 161,
"b": 54
},
"hsl": {
"h": 57.838,
"s": 50.685,
"l": 42.941
},
"oklch": {
"l": 0.69222,
"c": 0.12664,
"h": 107.2
},
"luminance": 0.33755
}Semantic roles & 50–950 ramp
primary
#A5A136
secondary
#787BBF
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B