#A2A827#A2A827
#A2A827 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.144 H 112.3°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A827 |
|---|---|
| RGB | rgb(162, 168, 39) |
| HSL | hsl(63, 62%, 41%) |
| HSV | hsv(63, 77%, 66%) |
| CMYK | cmyk(3.6%, 0%, 76.8%, 34.1%) |
| CIE-LAB | lab(66.39, -17.49, 60.83) |
| CIE-LCH | lch(66.39, 63.30, 106.04°) |
| OKLab | oklab(70.43% -0.0546 0.1332) |
| OKLCH | oklch(70.43% 0.144 112.3) |
| XYZ | xyz(29.2701, 35.8338, 7.2938) |
| Luminance | 0.3583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.85
Puke
#A5A502
ΔE00 2.67
Pea Soup Green
#94A617
ΔE00 3.05
Puke Green
#9AAE07
ΔE00 3.48
Barf Green
#94AC02
ΔE00 4.06
Mustard Green
#A8B504
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A827 #2D27A8
analogous
#A86E27 #A2A827 #61A827
triadic
#A2A827 #27A2A8 #A827A2
tetradic
#A2A827 #27A86E #2D27A8 #A82761
square
#A2A827 #27A86E #2D27A8 #A82761
split-complementary
#A2A827 #2761A8 #6E27A8
monochromatic
#424510 #72761B #A2A827 #CAD13B #D8DD6C
Accessibility & contrast
On white
2.57
#A2A827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A2A827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A827
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A827 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#AD9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a827; /* rgb */ color: rgb(162, 168, 39); /* oklch */ color: oklch(70.4% 0.144 112.3);
Tailwind
colors: {
custom: {
50: '#c1c16c',
500: '#a2a827',
950: '#000000',
},
}SCSS
$custom: #a2a827; $custom-light: #c1c16c; $custom-dark: #000000;
JSON
{
"hex": "#a2a827",
"rgb": {
"r": 162,
"g": 168,
"b": 39
},
"hsl": {
"h": 62.791,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.70429,
"c": 0.14396,
"h": 112.3
},
"luminance": 0.35833
}Semantic roles & 50–950 ramp
primary
#A2A827
secondary
#6C67C3
accent
#42E54A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A