#A0A227#A0A227
#A0A227 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.9% C 0.138 H 110.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A0A227 |
|---|---|
| RGB | rgb(160, 162, 39) |
| HSL | hsl(61, 61%, 39%) |
| HSV | hsv(61, 76%, 64%) |
| CMYK | cmyk(1.2%, 0%, 75.9%, 36.5%) |
| CIE-LAB | lab(64.53, -15.29, 59.06) |
| CIE-LCH | lch(64.53, 61.00, 104.51°) |
| OKLab | oklab(68.9% -0.0484 0.1295) |
| OKLCH | oklch(68.9% 0.138 110.5) |
| XYZ | xyz(27.7847, 33.4615, 6.9142) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.57
Puke
#A5A502
ΔE00 2.62
Pea Soup
#929901
ΔE00 3.60
Pea Soup Green
#94A617
ΔE00 3.81
Baby Poop Green
#8F9805
ΔE00 4.09
Puke Green
#9AAE07
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0A227 #2927A2
analogous
#A26727 #A0A227 #62A227
triadic
#A0A227 #27A0A2 #A227A0
tetradic
#A0A227 #27A267 #2927A2 #A22762
square
#A0A227 #27A267 #2927A2 #A22762
split-complementary
#A0A227 #2762A2 #6727A2
monochromatic
#3F3F0F #6F711B #A0A227 #CCCF37 #D9DB69
Accessibility & contrast
On white
2.73
#A0A227 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#A0A227 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0A227
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0A227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0A227 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B09
Deuteranopia (green-blind)
#B09E31
Tritanopia (blue-blind)
#AC988B
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a0a227; /* rgb */ color: rgb(160, 162, 39); /* oklch */ color: oklch(68.9% 0.138 110.5);
Tailwind
colors: {
custom: {
50: '#c0bd6b',
500: '#a0a227',
950: '#000000',
},
}SCSS
$custom: #a0a227; $custom-light: #c0bd6b; $custom-dark: #000000;
JSON
{
"hex": "#a0a227",
"rgb": {
"r": 160,
"g": 162,
"b": 39
},
"hsl": {
"h": 60.976,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.68901,
"c": 0.13825,
"h": 110.5
},
"luminance": 0.33461
}Semantic roles & 50–950 ramp
primary
#A0A227
secondary
#6564C1
accent
#43E446
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A