#A2A727#A2A727
#A2A727 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.143 H 111.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A727 |
|---|---|
| RGB | rgb(162, 167, 39) |
| HSL | hsl(62, 62%, 40%) |
| HSV | hsv(62, 77%, 65%) |
| CMYK | cmyk(3%, 0%, 76.6%, 34.5%) |
| CIE-LAB | lab(66.11, -16.98, 60.57) |
| CIE-LCH | lch(66.11, 62.91, 105.66°) |
| OKLab | oklab(70.2% -0.0532 0.1326) |
| OKLCH | oklch(70.2% 0.143 111.9) |
| XYZ | xyz(29.0862, 35.4660, 7.2325) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.62
Puke
#A5A502
ΔE00 2.51
Pea Soup Green
#94A617
ΔE00 3.19
Puke Green
#9AAE07
ΔE00 3.78
Barf Green
#94AC02
ΔE00 4.32
Mustard Green
#A8B504
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A727 #2C27A7
analogous
#A76C27 #A2A727 #62A727
triadic
#A2A727 #27A2A7 #A727A2
tetradic
#A2A727 #27A76C #2C27A7 #A72762
square
#A2A727 #27A76C #2C27A7 #A72762
split-complementary
#A2A727 #2762A7 #6C27A7
monochromatic
#424410 #72751B #A2A727 #CBD13A #D8DD6C
Accessibility & contrast
On white
2.59
#A2A727 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A2A727 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A727
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A727 | 1.00 | 2.59 | 8.09 | 8.09 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F04
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a2a727; /* rgb */ color: rgb(162, 167, 39); /* oklch */ color: oklch(70.2% 0.143 111.9);
Tailwind
colors: {
custom: {
50: '#c1c06c',
500: '#a2a727',
950: '#000000',
},
}SCSS
$custom: #a2a727; $custom-light: #c1c06c; $custom-dark: #000000;
JSON
{
"hex": "#a2a727",
"rgb": {
"r": 162,
"g": 167,
"b": 39
},
"hsl": {
"h": 62.344,
"s": 62.136,
"l": 40.392
},
"oklch": {
"l": 0.70202,
"c": 0.14292,
"h": 111.9
},
"luminance": 0.35465
}Semantic roles & 50–950 ramp
primary
#A2A727
secondary
#6A67C3
accent
#43E549
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A