#A5B138#A5B138
#A5B138 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.142 H 114.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B138 |
|---|---|
| RGB | rgb(165, 177, 56) |
| HSL | hsl(66, 52%, 46%) |
| HSV | hsv(66, 68%, 69%) |
| CMYK | cmyk(6.8%, 0%, 68.4%, 30.6%) |
| CIE-LAB | lab(69.28, -19.90, 57.63) |
| CIE-LCH | lch(69.28, 60.97, 109.05°) |
| OKLab | oklab(72.83% -0.0599 0.1293) |
| OKLCH | oklch(72.83% 0.143 114.9) |
| XYZ | xyz(31.9538, 39.7297, 9.7259) |
| Luminance | 0.3973 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.26
Puke Green
#9AAE07
ΔE00 3.31
Mustard Green
#A8B504
ΔE00 3.68
Sick Green
#9DB92C
ΔE00 3.70
Sickly Green
#94B21C
ΔE00 3.97
Barf Green
#94AC02
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B138 #4438B1
analogous
#B18038 #A5B138 #69B138
triadic
#A5B138 #38A5B1 #B138A5
tetradic
#A5B138 #38B180 #4438B1 #B13869
square
#A5B138 #38B180 #4438B1 #B13869
split-complementary
#A5B138 #3869B1 #8038B1
monochromatic
#4E541B #7A8329 #A5B138 #C0CB5B #D2DA8A
Accessibility & contrast
On white
2.35
#A5B138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#A5B138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B138
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B138 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA826
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a5b138; /* rgb */ color: rgb(165, 177, 56); /* oklch */ color: oklch(72.8% 0.142 114.9);
Tailwind
colors: {
custom: {
50: '#c3c876',
500: '#a5b138',
950: '#000000',
},
}SCSS
$custom: #a5b138; $custom-light: #c3c876; $custom-dark: #000000;
JSON
{
"hex": "#a5b138",
"rgb": {
"r": 165,
"g": 177,
"b": 56
},
"hsl": {
"h": 65.95,
"s": 51.931,
"l": 45.686
},
"oklch": {
"l": 0.7283,
"c": 0.1425,
"h": 114.9
},
"luminance": 0.39729
}Semantic roles & 50–950 ramp
primary
#A5B138
secondary
#8781C4
accent
#4CDB5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B