#A2B239#A2B239
#A2B239 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.144 H 116.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B239 |
|---|---|
| RGB | rgb(162, 178, 57) |
| HSL | hsl(68, 51%, 46%) |
| HSV | hsv(68, 68%, 70%) |
| CMYK | cmyk(9%, 0%, 68%, 30.2%) |
| CIE-LAB | lab(69.34, -21.61, 57.22) |
| CIE-LCH | lch(69.34, 61.17, 110.69°) |
| OKLab | oklab(72.83% -0.0644 0.1287) |
| OKLCH | oklch(72.83% 0.144 116.6) |
| XYZ | xyz(31.5599, 39.8180, 9.8932) |
| Luminance | 0.3982 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.30
Sick Green
#9DB92C
ΔE00 2.97
Puke Green
#9AAE07
ΔE00 3.26
Sickly Green
#94B21C
ΔE00 3.29
Icky Green
#8FAE22
ΔE00 3.72
Barf Green
#94AC02
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B239 #4939B2
analogous
#B28539 #A2B239 #65B239
triadic
#A2B239 #39A2B2 #B239A2
tetradic
#A2B239 #39B285 #4939B2 #B23965
square
#A2B239 #39B285 #4939B2 #B23965
split-complementary
#A2B239 #3965B2 #8539B2
monochromatic
#4E551B #78842A #A2B239 #BDCB5D #D0DA8B
Accessibility & contrast
On white
2.34
#A2B239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A2B239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B239
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B239 | 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)
#BEA927
Deuteranopia (green-blind)
#BDAA42
Tritanopia (blue-blind)
#ACA89A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2b239; /* rgb */ color: rgb(162, 178, 57); /* oklch */ color: oklch(72.8% 0.144 116.6);
Tailwind
colors: {
custom: {
50: '#c1c876',
500: '#a2b239',
950: '#000000',
},
}SCSS
$custom: #a2b239; $custom-light: #c1c876; $custom-dark: #000000;
JSON
{
"hex": "#a2b239",
"rgb": {
"r": 162,
"g": 178,
"b": 57
},
"hsl": {
"h": 67.934,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.72827,
"c": 0.14391,
"h": 116.6
},
"luminance": 0.39818
}Semantic roles & 50–950 ramp
primary
#A2B239
secondary
#8B82C4
accent
#4DDB60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B