#A2B627#A2B627
#A2B627 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.6% C 0.159 H 117.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A2B627 |
|---|---|
| RGB | rgb(162, 182, 39) |
| HSL | hsl(68, 65%, 43%) |
| HSV | hsv(68, 79%, 71%) |
| CMYK | cmyk(11%, 0%, 78.6%, 28.6%) |
| CIE-LAB | lab(70.37, -24.49, 64.45) |
| CIE-LCH | lch(70.37, 68.95, 110.80°) |
| OKLab | oklab(73.63% -0.074 0.1409) |
| OKLCH | oklch(73.63% 0.159 117.7) |
| XYZ | xyz(31.9952, 41.2841, 8.2022) |
| Luminance | 0.4128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.84
Booger Green
#96B403
ΔE00 2.38
Bright Olive
#9CBB04
ΔE00 2.54
Puke Green
#9AAE07
ΔE00 2.55
Pea
#A4BF20
ΔE00 2.59
Sickly Green
#94B21C
ΔE00 2.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2B627 #3B27B6
analogous
#B68227 #A2B627 #5AB627
triadic
#A2B627 #27A2B6 #B627A2
tetradic
#A2B627 #27B682 #3B27B6 #B6275A
square
#A2B627 #27B682 #3B27B6 #B6275A
split-complementary
#A2B627 #275AB6 #8227B6
monochromatic
#485111 #75841C #A2B627 #C2D743 #D3E276
Accessibility & contrast
On white
2.27
#A2B627 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#A2B627 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2B627
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2B627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2B627 | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#ACAC9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a2b627; /* rgb */ color: rgb(162, 182, 39); /* oklch */ color: oklch(73.6% 0.159 117.7);
Tailwind
colors: {
custom: {
50: '#c1cb6e',
500: '#a2b627',
950: '#000000',
},
}SCSS
$custom: #a2b627; $custom-light: #c1cb6e; $custom-dark: #000000;
JSON
{
"hex": "#a2b627",
"rgb": {
"r": 162,
"g": 182,
"b": 39
},
"hsl": {
"h": 68.392,
"s": 64.706,
"l": 43.333
},
"oklch": {
"l": 0.73625,
"c": 0.15912,
"h": 117.7
},
"luminance": 0.41284
}Semantic roles & 50–950 ramp
primary
#A2B627
secondary
#7C70C9
accent
#40E858
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B