#A5B229#A5B229
#A5B229 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.153 H 115.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B229 |
|---|---|
| RGB | rgb(165, 178, 41) |
| HSL | hsl(66, 63%, 43%) |
| HSV | hsv(66, 77%, 70%) |
| CMYK | cmyk(7.3%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(69.47, -21.16, 63.11) |
| CIE-LCH | lch(69.47, 66.56, 108.53°) |
| OKLab | oklab(72.96% -0.0648 0.1383) |
| OKLCH | oklch(72.96% 0.153 115.1) |
| XYZ | xyz(31.8386, 40.0008, 8.1411) |
| Luminance | 0.4000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.24
Puke Green
#9AAE07
ΔE00 2.38
Snot
#ACBB0D
ΔE00 3.17
Barf Green
#94AC02
ΔE00 3.38
Sick Green
#9DB92C
ΔE00 3.44
Booger Green
#96B403
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B229 #3629B2
analogous
#B27A29 #A5B229 #61B229
triadic
#A5B229 #29A5B2 #B229A5
tetradic
#A5B229 #29B27A #3629B2 #B22961
square
#A5B229 #29B27A #3629B2 #B22961
split-complementary
#A5B229 #2961B2 #7A29B2
monochromatic
#494F12 #77801E #A5B229 #C6D444 #D5DF76
Accessibility & contrast
On white
2.33
#A5B229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A5B229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B229
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B229 | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b229; /* rgb */ color: rgb(165, 178, 41); /* oklch */ color: oklch(73.0% 0.153 115.1);
Tailwind
colors: {
custom: {
50: '#c3c86e',
500: '#a5b229',
950: '#000000',
},
}SCSS
$custom: #a5b229; $custom-light: #c3c86e; $custom-dark: #000000;
JSON
{
"hex": "#a5b229",
"rgb": {
"r": 165,
"g": 178,
"b": 41
},
"hsl": {
"h": 65.693,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.72957,
"c": 0.15269,
"h": 115.1
},
"luminance": 0.4
}Semantic roles & 50–950 ramp
primary
#A5B229
secondary
#7870C7
accent
#42E652
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B