#A6A237#A6A237
#A6A237 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.127 H 107.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A237 |
|---|---|
| RGB | rgb(166, 162, 55) |
| HSL | hsl(58, 50%, 43%) |
| HSV | hsv(58, 67%, 65%) |
| CMYK | cmyk(0%, 2.4%, 66.9%, 34.9%) |
| CIE-LAB | lab(65.14, -11.84, 53.84) |
| CIE-LCH | lch(65.14, 55.13, 102.40°) |
| OKLab | oklab(69.54% -0.0375 0.1211) |
| OKLCH | oklch(69.54% 0.127 107.2) |
| XYZ | xyz(29.3369, 34.2244, 8.6743) |
| Luminance | 0.3422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.20
Puke
#A5A502
ΔE00 3.86
Pea Soup
#929901
ΔE00 5.19
Baby Poop Green
#8F9805
ΔE00 5.64
Pea Soup Green
#94A617
ΔE00 5.69
Khaki (survey)
#AAA662
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A237 #373BA6
analogous
#A66A37 #A6A237 #72A637
triadic
#A6A237 #37A6A2 #A237A6
tetradic
#A6A237 #37A66A #373BA6 #A63772
square
#A6A237 #37A66A #373BA6 #A63772
split-complementary
#A6A237 #3772A6 #6A37A6
monochromatic
#4A4819 #787528 #A6A237 #C6C254 #D6D382
Accessibility & contrast
On white
2.68
#A6A237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#A6A237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A237
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A237 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C28
Deuteranopia (green-blind)
#B1A03E
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a237; /* rgb */ color: rgb(166, 162, 55); /* oklch */ color: oklch(69.5% 0.127 107.2);
Tailwind
colors: {
custom: {
50: '#c3bd74',
500: '#a6a237',
950: '#000000',
},
}SCSS
$custom: #a6a237; $custom-light: #c3bd74; $custom-dark: #000000;
JSON
{
"hex": "#a6a237",
"rgb": {
"r": 166,
"g": 162,
"b": 55
},
"hsl": {
"h": 57.838,
"s": 50.226,
"l": 43.333
},
"oklch": {
"l": 0.69541,
"c": 0.12678,
"h": 107.2
},
"luminance": 0.34223
}Semantic roles & 50–950 ramp
primary
#A6A237
secondary
#7A7CBF
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B