#A1A237#A1A237
#A1A237 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.128 H 109.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A237 |
|---|---|
| RGB | rgb(161, 162, 55) |
| HSL | hsl(61, 49%, 43%) |
| HSV | hsv(61, 66%, 64%) |
| CMYK | cmyk(0.6%, 0%, 66%, 36.5%) |
| CIE-LAB | lab(64.72, -14.02, 53.27) |
| CIE-LCH | lch(64.72, 55.09, 104.74°) |
| OKLab | oklab(69.1% -0.0433 0.1201) |
| OKLCH | oklch(69.1% 0.128 109.8) |
| XYZ | xyz(28.3088, 33.6943, 8.6261) |
| Luminance | 0.3369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.13
Puke
#A5A502
ΔE00 4.09
Pea Soup
#929901
ΔE00 4.56
Pea Soup Green
#94A617
ΔE00 4.57
Baby Poop Green
#8F9805
ΔE00 4.88
Baby Shit Green
#889717
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A237 #3837A2
analogous
#A26E37 #A1A237 #6BA237
triadic
#A1A237 #37A1A2 #A237A1
tetradic
#A1A237 #37A26E #3837A2 #A2376B
square
#A1A237 #37A26E #3837A2 #A2376B
split-complementary
#A1A237 #376BA2 #6E37A2
monochromatic
#464718 #747427 #A1A237 #C3C452 #D3D480
Accessibility & contrast
On white
2.71
#A1A237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#A1A237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A237
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A237 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B28
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#AC988C
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a1a237; /* rgb */ color: rgb(161, 162, 55); /* oklch */ color: oklch(69.1% 0.128 109.8);
Tailwind
colors: {
custom: {
50: '#c0bd74',
500: '#a1a237',
950: '#000000',
},
}SCSS
$custom: #a1a237; $custom-light: #c0bd74; $custom-dark: #000000;
JSON
{
"hex": "#a1a237",
"rgb": {
"r": 161,
"g": 162,
"b": 55
},
"hsl": {
"h": 60.561,
"s": 49.309,
"l": 42.549
},
"oklch": {
"l": 0.69103,
"c": 0.12764,
"h": 109.8
},
"luminance": 0.33694
}Semantic roles & 50–950 ramp
primary
#A1A237
secondary
#7878BD
accent
#4FD950
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B