#A6AF2B#A6AF2B
#A6AF2B is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.148 H 113.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AF2B |
|---|---|
| RGB | rgb(166, 175, 43) |
| HSL | hsl(64, 61%, 43%) |
| HSV | hsv(64, 75%, 69%) |
| CMYK | cmyk(5.1%, 0%, 75.4%, 31.4%) |
| CIE-LAB | lab(68.71, -19.14, 61.79) |
| CIE-LCH | lch(68.71, 64.68, 107.21°) |
| OKLab | oklab(72.37% -0.0591 0.1358) |
| OKLCH | oklch(72.37% 0.148 113.5) |
| XYZ | xyz(31.4929, 38.9420, 8.1426) |
| Luminance | 0.3894 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.78
Puke Green
#9AAE07
ΔE00 2.81
Vomit
#A2A415
ΔE00 3.54
Barf Green
#94AC02
ΔE00 3.75
Pea Soup Green
#94A617
ΔE00 3.77
Puke
#A5A502
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AF2B #342BAF
analogous
#AF762B #A6AF2B #64AF2B
triadic
#A6AF2B #2BA6AF #AF2BA6
tetradic
#A6AF2B #2BAF76 #342BAF #AF2B64
square
#A6AF2B #2BAF76 #342BAF #AF2B64
split-complementary
#A6AF2B #2B64AF #762BAF
monochromatic
#494D13 #777E1F #A6AF2B #C8D146 #D7DE77
Accessibility & contrast
On white
2.39
#A6AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#A6AF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AF2B
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AF2B | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA60B
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#B1A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6af2b; /* rgb */ color: rgb(166, 175, 43); /* oklch */ color: oklch(72.4% 0.148 113.5);
Tailwind
colors: {
custom: {
50: '#c4c66f',
500: '#a6af2b',
950: '#000000',
},
}SCSS
$custom: #a6af2b; $custom-light: #c4c66f; $custom-dark: #000000;
JSON
{
"hex": "#a6af2b",
"rgb": {
"r": 166,
"g": 175,
"b": 43
},
"hsl": {
"h": 64.091,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.72369,
"c": 0.14809,
"h": 113.5
},
"luminance": 0.38941
}Semantic roles & 50–950 ramp
primary
#A6AF2B
secondary
#7670C5
accent
#44E44F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B