#A6A135#A6A135
#A6A135 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.127 H 106.7°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A135 |
|---|---|
| RGB | rgb(166, 161, 53) |
| HSL | hsl(57, 52%, 43%) |
| HSV | hsv(57, 68%, 65%) |
| CMYK | cmyk(0%, 3%, 68.1%, 34.9%) |
| CIE-LAB | lab(64.85, -11.43, 54.36) |
| CIE-LCH | lch(64.85, 55.55, 101.87°) |
| OKLab | oklab(69.3% -0.0365 0.1219) |
| OKLCH | oklch(69.3% 0.127 106.7) |
| XYZ | xyz(29.1144, 33.8548, 8.3685) |
| Luminance | 0.3385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.22
Puke
#A5A502
ΔE00 3.82
Pea Soup
#929901
ΔE00 5.09
Baby Poop Green
#8F9805
ΔE00 5.57
Pea Soup Green
#94A617
ΔE00 5.90
Khaki (survey)
#AAA662
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A135 #353AA6
analogous
#A66835 #A6A135 #72A635
triadic
#A6A135 #35A6A1 #A135A6
tetradic
#A6A135 #35A668 #353AA6 #A63572
square
#A6A135 #35A668 #353AA6 #A63572
split-complementary
#A6A135 #3572A6 #6835A6
monochromatic
#494717 #787426 #A6A135 #C7C251 #D6D27F
Accessibility & contrast
On white
2.70
#A6A135 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#A6A135 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A135
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A135 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A135 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9B25
Deuteranopia (green-blind)
#B19F3C
Tritanopia (blue-blind)
#B2968B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a6a135; /* rgb */ color: rgb(166, 161, 53); /* oklch */ color: oklch(69.3% 0.127 106.7);
Tailwind
colors: {
custom: {
50: '#c3bc73',
500: '#a6a135',
950: '#000000',
},
}SCSS
$custom: #a6a135; $custom-light: #c3bc73; $custom-dark: #000000;
JSON
{
"hex": "#a6a135",
"rgb": {
"r": 166,
"g": 161,
"b": 53
},
"hsl": {
"h": 57.345,
"s": 51.598,
"l": 42.941
},
"oklch": {
"l": 0.69303,
"c": 0.12723,
"h": 106.7
},
"luminance": 0.33854
}Semantic roles & 50–950 ramp
primary
#A6A135
secondary
#777BBF
accent
#53DB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B