#A6A239#A6A239
#A6A239 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.125 H 107.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A239 |
|---|---|
| RGB | rgb(166, 162, 57) |
| HSL | hsl(58, 49%, 44%) |
| HSV | hsv(58, 66%, 65%) |
| CMYK | cmyk(0%, 2.4%, 65.7%, 34.9%) |
| CIE-LAB | lab(65.16, -11.72, 53.02) |
| CIE-LCH | lch(65.16, 54.30, 102.46°) |
| OKLab | oklab(69.56% -0.0369 0.1197) |
| OKLCH | oklch(69.56% 0.125 107.1) |
| XYZ | xyz(29.3858, 34.2440, 8.9319) |
| Luminance | 0.3424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.42
Puke
#A5A502
ΔE00 4.09
Pea Soup
#929901
ΔE00 5.32
Baby Poop Green
#8F9805
ΔE00 5.75
Pea Soup Green
#94A617
ΔE00 5.79
Khaki (survey)
#AAA662
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A239 #393DA6
analogous
#A66B39 #A6A239 #73A639
triadic
#A6A239 #39A6A2 #A239A6
tetradic
#A6A239 #39A66B #393DA6 #A63973
square
#A6A239 #39A66B #393DA6 #A63973
split-complementary
#A6A239 #3973A6 #6B39A6
monochromatic
#4B491A #787629 #A6A239 #C5C157 #D5D284
Accessibility & contrast
On white
2.68
#A6A239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#A6A239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A239
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A239 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C2B
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a6a239; /* rgb */ color: rgb(166, 162, 57); /* oklch */ color: oklch(69.6% 0.125 107.1);
Tailwind
colors: {
custom: {
50: '#c3bd75',
500: '#a6a239',
950: '#000000',
},
}SCSS
$custom: #a6a239; $custom-light: #c3bd75; $custom-dark: #000000;
JSON
{
"hex": "#a6a239",
"rgb": {
"r": 166,
"g": 162,
"b": 57
},
"hsl": {
"h": 57.798,
"s": 48.879,
"l": 43.725
},
"oklch": {
"l": 0.69558,
"c": 0.12528,
"h": 107.1
},
"luminance": 0.34243
}Semantic roles & 50–950 ramp
primary
#A6A239
secondary
#7C7EBF
accent
#54D84F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B