#A3AF2F#A3AF2F
#A3AF2F is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.147 H 114.8°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF2F |
|---|---|
| RGB | rgb(163, 175, 47) |
| HSL | hsl(66, 58%, 44%) |
| HSV | hsv(66, 73%, 69%) |
| CMYK | cmyk(6.9%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(68.50, -20.24, 60.15) |
| CIE-LCH | lch(68.50, 63.46, 108.60°) |
| OKLab | oklab(72.15% -0.0616 0.1331) |
| OKLCH | oklch(72.15% 0.147 114.8) |
| XYZ | xyz(30.9482, 38.6523, 8.5191) |
| Luminance | 0.3865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.56
Mustard Green
#A8B504
ΔE00 3.24
Barf Green
#94AC02
ΔE00 3.32
Pea Soup Green
#94A617
ΔE00 3.37
Booger
#9BB53C
ΔE00 3.70
Sickly Green
#94B21C
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF2F #3B2FAF
analogous
#AF7B2F #A3AF2F #63AF2F
triadic
#A3AF2F #2FA3AF #AF2FA3
tetradic
#A3AF2F #2FAF7B #3B2FAF #AF2F63
square
#A3AF2F #2FAF7B #3B2FAF #AF2F63
split-complementary
#A3AF2F #2F63AF #7B2FAF
monochromatic
#494F15 #767F22 #A3AF2F #C3CF4C #D3DC7C
Accessibility & contrast
On white
2.41
#A3AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A3AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF2F
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF2F | 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)
#BCA616
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#AEA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af2f; /* rgb */ color: rgb(163, 175, 47); /* oklch */ color: oklch(72.2% 0.147 114.8);
Tailwind
colors: {
custom: {
50: '#c2c671',
500: '#a3af2f',
950: '#000000',
},
}SCSS
$custom: #a3af2f; $custom-light: #c2c671; $custom-dark: #000000;
JSON
{
"hex": "#a3af2f",
"rgb": {
"r": 163,
"g": 175,
"b": 47
},
"hsl": {
"h": 65.625,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.7215,
"c": 0.14669,
"h": 114.8
},
"luminance": 0.38652
}Semantic roles & 50–950 ramp
primary
#A3AF2F
secondary
#7D75C4
accent
#47E155
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B