#A2B927#A2B927
#A2B927 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.3% C 0.162 H 118.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B927 |
|---|---|
| RGB | rgb(162, 185, 39) |
| HSL | hsl(69, 65%, 44%) |
| HSV | hsv(69, 79%, 73%) |
| CMYK | cmyk(12.4%, 0%, 78.9%, 27.5%) |
| CIE-LAB | lab(71.23, -25.95, 65.23) |
| CIE-LCH | lch(71.23, 70.20, 111.69°) |
| OKLab | oklab(74.32% -0.078 0.1425) |
| OKLCH | oklch(74.32% 0.162 118.7) |
| XYZ | xyz(32.6162, 42.5261, 8.4092) |
| Luminance | 0.4253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.30
Pea
#A4BF20
ΔE00 1.74
Bright Olive
#9CBB04
ΔE00 1.90
Gross Green
#A0BF16
ΔE00 2.11
Booger Green
#96B403
ΔE00 2.37
Sickly Green
#94B21C
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B927 #3E27B9
analogous
#B98727 #A2B927 #59B927
triadic
#A2B927 #27A2B9 #B927A2
tetradic
#A2B927 #27B987 #3E27B9 #B92759
square
#A2B927 #27B987 #3E27B9 #B92759
split-complementary
#A2B927 #2759B9 #8727B9
monochromatic
#495412 #76861C #A2B927 #C1D845 #D2E378
Accessibility & contrast
On white
2.21
#A2B927 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#A2B927 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B927
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B927 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#ACAF9E
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a2b927; /* rgb */ color: rgb(162, 185, 39); /* oklch */ color: oklch(74.3% 0.162 118.7);
Tailwind
colors: {
custom: {
50: '#c1ce6e',
500: '#a2b927',
950: '#000000',
},
}SCSS
$custom: #a2b927; $custom-light: #c1ce6e; $custom-dark: #000000;
JSON
{
"hex": "#a2b927",
"rgb": {
"r": 162,
"g": 185,
"b": 39
},
"hsl": {
"h": 69.452,
"s": 65.179,
"l": 43.922
},
"oklch": {
"l": 0.74315,
"c": 0.16248,
"h": 118.7
},
"luminance": 0.42526
}Semantic roles & 50–950 ramp
primary
#A2B927
secondary
#8072CA
accent
#40E85A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B