#A5B231#A5B231
#A5B231 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.148 H 115.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B231 |
|---|---|
| RGB | rgb(165, 178, 49) |
| HSL | hsl(66, 57%, 45%) |
| HSV | hsv(66, 72%, 70%) |
| CMYK | cmyk(7.3%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.51, -20.79, 60.47) |
| CIE-LCH | lch(69.51, 63.94, 108.97°) |
| OKLab | oklab(73.01% -0.0631 0.1341) |
| OKLCH | oklch(73.01% 0.148 115.2) |
| XYZ | xyz(31.9927, 40.0624, 8.9526) |
| Luminance | 0.4006 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.77
Mustard Green
#A8B504
ΔE00 2.92
Sick Green
#9DB92C
ΔE00 3.34
Booger
#9BB53C
ΔE00 3.37
Barf Green
#94AC02
ΔE00 3.62
Sickly Green
#94B21C
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B231 #3E31B2
analogous
#B27F31 #A5B231 #64B231
triadic
#A5B231 #31A5B2 #B231A5
tetradic
#A5B231 #31B27F #3E31B2 #B23164
square
#A5B231 #31B27F #3E31B2 #B23164
split-complementary
#A5B231 #3164B2 #7F31B2
monochromatic
#4C5217 #798224 #A5B231 #C2CF51 #D3DC81
Accessibility & contrast
On white
2.33
#A5B231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A5B231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B231
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B231 | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b231; /* rgb */ color: rgb(165, 178, 49); /* oklch */ color: oklch(73.0% 0.148 115.2);
Tailwind
colors: {
custom: {
50: '#c3c872',
500: '#a5b231',
950: '#000000',
},
}SCSS
$custom: #a5b231; $custom-light: #c3c872; $custom-dark: #000000;
JSON
{
"hex": "#a5b231",
"rgb": {
"r": 165,
"g": 178,
"b": 49
},
"hsl": {
"h": 66.047,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.73006,
"c": 0.14819,
"h": 115.2
},
"luminance": 0.40062
}Semantic roles & 50–950 ramp
primary
#A5B231
secondary
#8179C5
accent
#48E057
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B