#A2B326#A2B326
#A2B326 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.156 H 116.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B326 |
|---|---|
| RGB | rgb(162, 179, 38) |
| HSL | hsl(67, 65%, 43%) |
| HSV | hsv(67, 79%, 70%) |
| CMYK | cmyk(9.5%, 0%, 78.8%, 29.8%) |
| CIE-LAB | lab(69.51, -23.05, 63.97) |
| CIE-LCH | lch(69.51, 68.00, 109.82°) |
| OKLab | oklab(72.93% -0.0701 0.1397) |
| OKLCH | oklch(72.93% 0.156 116.6) |
| XYZ | xyz(31.3711, 40.0620, 7.9135) |
| Luminance | 0.4006 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.00
Mustard Green
#A8B504
ΔE00 2.38
Sick Green
#9DB92C
ΔE00 2.64
Booger Green
#96B403
ΔE00 2.71
Sickly Green
#94B21C
ΔE00 2.82
Barf Green
#94AC02
ΔE00 2.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B326 #3726B3
analogous
#B37D26 #A2B326 #5CB326
triadic
#A2B326 #26A2B3 #B326A2
tetradic
#A2B326 #26B37D #3726B3 #B3265C
square
#A2B326 #26B37D #3726B3 #B3265C
split-complementary
#A2B326 #265CB3 #7D26B3
monochromatic
#474E11 #74811B #A2B326 #C4D640 #D4E172
Accessibility & contrast
On white
2.33
#A2B326 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A2B326 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B326
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B326 | 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)
#C0A900
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b326; /* rgb */ color: rgb(162, 179, 38); /* oklch */ color: oklch(72.9% 0.156 116.6);
Tailwind
colors: {
custom: {
50: '#c1c96d',
500: '#a2b326',
950: '#000000',
},
}SCSS
$custom: #a2b326; $custom-light: #c1c96d; $custom-dark: #000000;
JSON
{
"hex": "#a2b326",
"rgb": {
"r": 162,
"g": 179,
"b": 38
},
"hsl": {
"h": 67.234,
"s": 64.977,
"l": 42.549
},
"oklch": {
"l": 0.72931,
"c": 0.1563,
"h": 116.6
},
"luminance": 0.40062
}Semantic roles & 50–950 ramp
primary
#A2B326
secondary
#786DC8
accent
#40E854
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A