#A2B317#A2B317
#A2B317 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.162 H 116.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B317 |
|---|---|
| RGB | rgb(162, 179, 23) |
| HSL | hsl(67, 77%, 40%) |
| HSV | hsv(67, 87%, 70%) |
| CMYK | cmyk(9.5%, 0%, 87.2%, 29.8%) |
| CIE-LAB | lab(69.46, -23.53, 67.66) |
| CIE-LCH | lch(69.46, 71.63, 109.18°) |
| OKLab | oklab(72.87% -0.0724 0.1452) |
| OKLCH | oklch(72.87% 0.162 116.5) |
| XYZ | xyz(31.1760, 39.9839, 6.8858) |
| Luminance | 0.3998 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.61
Puke Green
#9AAE07
ΔE00 1.72
Snot
#ACBB0D
ΔE00 2.60
Booger Green
#96B403
ΔE00 2.61
Barf Green
#94AC02
ΔE00 2.81
Sick Green
#9DB92C
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B317 #2817B3
analogous
#B37617 #A2B317 #54B317
triadic
#A2B317 #17A2B3 #B317A2
tetradic
#A2B317 #17B376 #2817B3 #B31754
square
#A2B317 #17B376 #2817B3 #B31754
split-complementary
#A2B317 #1754B3 #7617B3
monochromatic
#404709 #717D10 #A2B317 #CEE324 #DAEA5B
Accessibility & contrast
On white
2.33
#A2B317 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#A2B317 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B317
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B317 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B317 | 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)
#C0A900
Deuteranopia (green-blind)
#BFAB2A
Tritanopia (blue-blind)
#ADA898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b317; /* rgb */ color: rgb(162, 179, 23); /* oklch */ color: oklch(72.9% 0.162 116.5);
Tailwind
colors: {
custom: {
50: '#c2c968',
500: '#a2b317',
950: '#000000',
},
}SCSS
$custom: #a2b317; $custom-light: #c2c968; $custom-dark: #000000;
JSON
{
"hex": "#a2b317",
"rgb": {
"r": 162,
"g": 179,
"b": 23
},
"hsl": {
"h": 66.538,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.72869,
"c": 0.16219,
"h": 116.5
},
"luminance": 0.39983
}Semantic roles & 50–950 ramp
primary
#A2B317
secondary
#6558CD
accent
#34F449
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A