#A2B238#A2B238
#A2B238 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.145 H 116.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B238 |
|---|---|
| RGB | rgb(162, 178, 56) |
| HSL | hsl(68, 52%, 46%) |
| HSV | hsv(68, 69%, 70%) |
| CMYK | cmyk(9%, 0%, 68.5%, 30.2%) |
| CIE-LAB | lab(69.33, -21.67, 57.61) |
| CIE-LCH | lch(69.33, 61.55, 110.61°) |
| OKLab | oklab(72.82% -0.0647 0.1293) |
| OKLCH | oklch(72.82% 0.145 116.6) |
| XYZ | xyz(31.5352, 39.8081, 9.7631) |
| Luminance | 0.3981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.34
Sick Green
#9DB92C
ΔE00 2.93
Puke Green
#9AAE07
ΔE00 3.17
Sickly Green
#94B21C
ΔE00 3.24
Barf Green
#94AC02
ΔE00 3.69
Icky Green
#8FAE22
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B238 #4838B2
analogous
#B28538 #A2B238 #65B238
triadic
#A2B238 #38A2B2 #B238A2
tetradic
#A2B238 #38B285 #4838B2 #B23865
square
#A2B238 #38B285 #4838B2 #B23865
split-complementary
#A2B238 #3865B2 #8538B2
monochromatic
#4D551B #788329 #A2B238 #BDCC5C #D0DA8A
Accessibility & contrast
On white
2.34
#A2B238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A2B238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B238
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B238 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#ACA89A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b238; /* rgb */ color: rgb(162, 178, 56); /* oklch */ color: oklch(72.8% 0.145 116.6);
Tailwind
colors: {
custom: {
50: '#c1c876',
500: '#a2b238',
950: '#000000',
},
}SCSS
$custom: #a2b238; $custom-light: #c1c876; $custom-dark: #000000;
JSON
{
"hex": "#a2b238",
"rgb": {
"r": 162,
"g": 178,
"b": 56
},
"hsl": {
"h": 67.869,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.72819,
"c": 0.14461,
"h": 116.6
},
"luminance": 0.39808
}Semantic roles & 50–950 ramp
primary
#A2B238
secondary
#8A81C5
accent
#4CDC5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B