#A2B338#A2B338
#A2B338 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.146 H 117.0°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B338 |
|---|---|
| RGB | rgb(162, 179, 56) |
| HSL | hsl(68, 52%, 46%) |
| HSV | hsv(68, 69%, 70%) |
| CMYK | cmyk(9.5%, 0%, 68.7%, 29.8%) |
| CIE-LAB | lab(69.62, -22.17, 57.90) |
| CIE-LCH | lch(69.62, 61.99, 110.95°) |
| OKLab | oklab(73.05% -0.0661 0.1299) |
| OKLCH | oklch(73.05% 0.146 117) |
| XYZ | xyz(31.7349, 40.2075, 9.8296) |
| Luminance | 0.4021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.13
Sick Green
#9DB92C
ΔE00 2.64
Sickly Green
#94B21C
ΔE00 3.10
Puke Green
#9AAE07
ΔE00 3.22
Booger Green
#96B403
ΔE00 3.59
Icky Green
#8FAE22
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B338 #4938B3
analogous
#B38638 #A2B338 #64B338
triadic
#A2B338 #38A2B3 #B338A2
tetradic
#A2B338 #38B386 #4938B3 #B33864
square
#A2B338 #38B386 #4938B3 #B33864
split-complementary
#A2B338 #3864B3 #8638B3
monochromatic
#4E561B #788429 #A2B338 #BDCC5C #D0DB8B
Accessibility & contrast
On white
2.32
#A2B338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A2B338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B338
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B338 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#BDAB41
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2b338; /* rgb */ color: rgb(162, 179, 56); /* oklch */ color: oklch(73.0% 0.146 117.0);
Tailwind
colors: {
custom: {
50: '#c1c976',
500: '#a2b338',
950: '#000000',
},
}SCSS
$custom: #a2b338; $custom-light: #c1c976; $custom-dark: #000000;
JSON
{
"hex": "#a2b338",
"rgb": {
"r": 162,
"g": 179,
"b": 56
},
"hsl": {
"h": 68.293,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.73047,
"c": 0.14576,
"h": 117
},
"luminance": 0.40207
}Semantic roles & 50–950 ramp
primary
#A2B338
secondary
#8B82C5
accent
#4CDC60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B