#A3AF2C#A3AF2C
#A3AF2C is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.148 H 114.8°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF2C |
|---|---|
| RGB | rgb(163, 175, 44) |
| HSL | hsl(65, 60%, 43%) |
| HSV | hsv(65, 75%, 69%) |
| CMYK | cmyk(6.9%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(68.48, -20.38, 61.16) |
| CIE-LCH | lch(68.48, 64.47, 108.43°) |
| OKLab | oklab(72.13% -0.0623 0.1348) |
| OKLCH | oklch(72.13% 0.148 114.8) |
| XYZ | xyz(30.8897, 38.6289, 8.2113) |
| Luminance | 0.3863 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.38
Mustard Green
#A8B504
ΔE00 3.00
Barf Green
#94AC02
ΔE00 3.20
Pea Soup Green
#94A617
ΔE00 3.32
Sickly Green
#94B21C
ΔE00 3.74
Booger
#9BB53C
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF2C #382CAF
analogous
#AF792C #A3AF2C #62AF2C
triadic
#A3AF2C #2CA3AF #AF2CA3
tetradic
#A3AF2C #2CAF79 #382CAF #AF2C62
square
#A3AF2C #2CAF79 #382CAF #AF2C62
split-complementary
#A3AF2C #2C62AF #792CAF
monochromatic
#484D13 #757E20 #A3AF2C #C4D147 #D4DD78
Accessibility & contrast
On white
2.41
#A3AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#A3AF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF2C
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF2C | 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)
#BCA60E
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#AEA596
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af2c; /* rgb */ color: rgb(163, 175, 44); /* oklch */ color: oklch(72.1% 0.148 114.8);
Tailwind
colors: {
custom: {
50: '#c2c66f',
500: '#a3af2c',
950: '#000000',
},
}SCSS
$custom: #a3af2c; $custom-light: #c2c66f; $custom-dark: #000000;
JSON
{
"hex": "#a3af2c",
"rgb": {
"r": 163,
"g": 175,
"b": 44
},
"hsl": {
"h": 65.496,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.72131,
"c": 0.14844,
"h": 114.8
},
"luminance": 0.38628
}Semantic roles & 50–950 ramp
primary
#A3AF2C
secondary
#7972C5
accent
#45E353
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B