#A5B238#A5B238
#A5B238 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.144 H 115.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B238 |
|---|---|
| RGB | rgb(165, 178, 56) |
| HSL | hsl(66, 52%, 46%) |
| HSV | hsv(66, 69%, 70%) |
| CMYK | cmyk(7.3%, 0%, 68.5%, 30.2%) |
| CIE-LAB | lab(69.56, -20.40, 57.91) |
| CIE-LCH | lch(69.56, 61.40, 109.41°) |
| OKLab | oklab(73.06% -0.0613 0.1299) |
| OKLCH | oklch(73.06% 0.144 115.3) |
| XYZ | xyz(32.1521, 40.1262, 9.7920) |
| Luminance | 0.4013 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.04
Puke Green
#9AAE07
ΔE00 3.29
Sick Green
#9DB92C
ΔE00 3.41
Mustard Green
#A8B504
ΔE00 3.60
Sickly Green
#94B21C
ΔE00 3.80
Barf Green
#94AC02
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B238 #4538B2
analogous
#B28238 #A5B238 #68B238
triadic
#A5B238 #38A5B2 #B238A5
tetradic
#A5B238 #38B282 #4538B2 #B23868
square
#A5B238 #38B282 #4538B2 #B23868
split-complementary
#A5B238 #3868B2 #8238B2
monochromatic
#4F551B #7A8329 #A5B238 #C0CC5C #D2DA8A
Accessibility & contrast
On white
2.33
#A5B238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A5B238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B238
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B238 | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#AFA89A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b238; /* rgb */ color: rgb(165, 178, 56); /* oklch */ color: oklch(73.1% 0.144 115.3);
Tailwind
colors: {
custom: {
50: '#c3c876',
500: '#a5b238',
950: '#000000',
},
}SCSS
$custom: #a5b238; $custom-light: #c3c876; $custom-dark: #000000;
JSON
{
"hex": "#a5b238",
"rgb": {
"r": 165,
"g": 178,
"b": 56
},
"hsl": {
"h": 66.393,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.73057,
"c": 0.14364,
"h": 115.3
},
"luminance": 0.40126
}Semantic roles & 50–950 ramp
primary
#A5B238
secondary
#8881C5
accent
#4CDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B