#A3AF2E#A3AF2E
#A3AF2E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.147 H 114.8°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF2E |
|---|---|
| RGB | rgb(163, 175, 46) |
| HSL | hsl(66, 58%, 43%) |
| HSV | hsv(66, 74%, 69%) |
| CMYK | cmyk(6.9%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(68.49, -20.29, 60.49) |
| CIE-LCH | lch(68.49, 63.80, 108.54°) |
| OKLab | oklab(72.14% -0.0618 0.1337) |
| OKLCH | oklch(72.14% 0.147 114.8) |
| XYZ | xyz(30.9282, 38.6443, 8.4141) |
| Luminance | 0.3864 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.50
Mustard Green
#A8B504
ΔE00 3.16
Barf Green
#94AC02
ΔE00 3.28
Pea Soup Green
#94A617
ΔE00 3.35
Booger
#9BB53C
ΔE00 3.74
Sickly Green
#94B21C
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF2E #3A2EAF
analogous
#AF7A2E #A3AF2E #63AF2E
triadic
#A3AF2E #2EA3AF #AF2EA3
tetradic
#A3AF2E #2EAF7A #3A2EAF #AF2E63
square
#A3AF2E #2EAF7A #3A2EAF #AF2E63
split-complementary
#A3AF2E #2E63AF #7A2EAF
monochromatic
#494E15 #767F21 #A3AF2E #C3D04B #D3DC7B
Accessibility & contrast
On white
2.41
#A3AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A3AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF2E
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF2E | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA613
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#AEA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af2e; /* rgb */ color: rgb(163, 175, 46); /* oklch */ color: oklch(72.1% 0.147 114.8);
Tailwind
colors: {
custom: {
50: '#c2c670',
500: '#a3af2e',
950: '#000000',
},
}SCSS
$custom: #a3af2e; $custom-light: #c2c670; $custom-dark: #000000;
JSON
{
"hex": "#a3af2e",
"rgb": {
"r": 163,
"g": 175,
"b": 46
},
"hsl": {
"h": 65.581,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.72143,
"c": 0.14729,
"h": 114.8
},
"luminance": 0.38644
}Semantic roles & 50–950 ramp
primary
#A3AF2E
secondary
#7C74C5
accent
#46E255
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B