#A5B738#A5B738
#A5B738 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.149 H 117.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B738 |
|---|---|
| RGB | rgb(165, 183, 56) |
| HSL | hsl(69, 53%, 47%) |
| HSV | hsv(69, 69%, 72%) |
| CMYK | cmyk(9.8%, 0%, 69.4%, 28.2%) |
| CIE-LAB | lab(70.98, -22.89, 59.33) |
| CIE-LCH | lch(70.98, 63.60, 111.09°) |
| OKLab | oklab(74.19% -0.0682 0.1329) |
| OKLCH | oklch(74.19% 0.149 117.2) |
| XYZ | xyz(33.1651, 42.1522, 10.1297) |
| Luminance | 0.4215 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.10
Booger
#9BB53C
ΔE00 2.32
Pea
#A4BF20
ΔE00 3.15
Sickly Green
#94B21C
ΔE00 3.33
Booger Green
#96B403
ΔE00 3.53
Bright Olive
#9CBB04
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B738 #4A38B7
analogous
#B78A38 #A5B738 #66B738
triadic
#A5B738 #38A5B7 #B738A5
tetradic
#A5B738 #38B78A #4A38B7 #B73866
square
#A5B738 #38B78A #4A38B7 #B73866
split-complementary
#A5B738 #3866B7 #8A38B7
monochromatic
#50591B #7B882A #A5B738 #BECE5E #D1DC8D
Accessibility & contrast
On white
2.23
#A5B738 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A5B738 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B738
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B738 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B738 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C2AE42
Tritanopia (blue-blind)
#AFAD9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b738; /* rgb */ color: rgb(165, 183, 56); /* oklch */ color: oklch(74.2% 0.149 117.2);
Tailwind
colors: {
custom: {
50: '#c3cc76',
500: '#a5b738',
950: '#000000',
},
}SCSS
$custom: #a5b738; $custom-light: #c3cc76; $custom-dark: #000000;
JSON
{
"hex": "#a5b738",
"rgb": {
"r": 165,
"g": 183,
"b": 56
},
"hsl": {
"h": 68.504,
"s": 53.138,
"l": 46.863
},
"oklch": {
"l": 0.74194,
"c": 0.14938,
"h": 117.2
},
"luminance": 0.42152
}Semantic roles & 50–950 ramp
primary
#A5B738
secondary
#8E84C7
accent
#4BDD60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B