#A2B052#A2B052
#A2B052 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.6% C 0.120 H 116.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B052 |
|---|---|
| RGB | rgb(162, 176, 82) |
| HSL | hsl(69, 37%, 51%) |
| HSV | hsv(69, 53%, 69%) |
| CMYK | cmyk(8%, 0%, 53.4%, 31%) |
| CIE-LAB | lab(69.00, -18.72, 45.86) |
| CIE-LCH | lch(69.00, 49.54, 112.20°) |
| OKLab | oklab(72.63% -0.0538 0.1078) |
| OKLCH | oklch(72.63% 0.12 116.5) |
| XYZ | xyz(31.9491, 39.3416, 13.8916) |
| Luminance | 0.3934 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.80
Light Olive Green
#A4BE5C
ΔE00 4.24
Light Olive
#ACBF69
ΔE00 4.53
Avocado (survey)
#90B134
ΔE00 4.87
Tan Green
#A9BE70
ΔE00 5.26
Sick Green
#9DB92C
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B052 #6052B0
analogous
#B08F52 #A2B052 #73B052
triadic
#A2B052 #52A2B0 #B052A2
tetradic
#A2B052 #52B08F #6052B0 #B05273
square
#A2B052 #52B08F #6052B0 #B05273
split-complementary
#A2B052 #5273B0 #8F52B0
monochromatic
#565D2B #7C873E #A2B052 #B9C37C #CFD6A6
Accessibility & contrast
On white
2.37
#A2B052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#A2B052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B052
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B052 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA849
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#ABA79B
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a2b052; /* rgb */ color: rgb(162, 176, 82); /* oklch */ color: oklch(72.6% 0.120 116.5);
Tailwind
colors: {
custom: {
50: '#bfc785',
500: '#a2b052',
950: '#000000',
},
}SCSS
$custom: #a2b052; $custom-light: #bfc785; $custom-dark: #000000;
JSON
{
"hex": "#a2b052",
"rgb": {
"r": 162,
"g": 176,
"b": 82
},
"hsl": {
"h": 68.936,
"s": 37.302,
"l": 50.588
},
"oklch": {
"l": 0.72625,
"c": 0.12043,
"h": 116.5
},
"luminance": 0.39341
}Semantic roles & 50–950 ramp
primary
#A2B052
secondary
#A09AC4
accent
#5BCD6C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C