#A3AF38#A3AF38
#A3AF38 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.141 H 114.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF38 |
|---|---|
| RGB | rgb(163, 175, 56) |
| HSL | hsl(66, 52%, 45%) |
| HSV | hsv(66, 68%, 69%) |
| CMYK | cmyk(6.9%, 0%, 68%, 31.4%) |
| CIE-LAB | lab(68.56, -19.75, 56.85) |
| CIE-LCH | lch(68.56, 60.18, 109.16°) |
| OKLab | oklab(72.21% -0.0594 0.1277) |
| OKLCH | oklch(72.21% 0.141 114.9) |
| XYZ | xyz(31.1488, 38.7325, 9.5759) |
| Luminance | 0.3873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.28
Booger
#9BB53C
ΔE00 3.32
Pea Soup Green
#94A617
ΔE00 3.68
Barf Green
#94AC02
ΔE00 3.85
Sickly Green
#94B21C
ΔE00 3.98
Sick Green
#9DB92C
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF38 #4438AF
analogous
#AF7F38 #A3AF38 #68AF38
triadic
#A3AF38 #38A3AF #AF38A3
tetradic
#A3AF38 #38AF7F #4438AF #AF3868
square
#A3AF38 #38AF7F #4438AF #AF3868
split-complementary
#A3AF38 #3868AF #7F38AF
monochromatic
#4D521A #788129 #A3AF38 #BFCA5A #D1D988
Accessibility & contrast
On white
2.40
#A3AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.75
#A3AF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF38
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF38 | 1.00 | 2.40 | 8.75 | 8.75 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#BBA841
Tritanopia (blue-blind)
#ADA597
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af38; /* rgb */ color: rgb(163, 175, 56); /* oklch */ color: oklch(72.2% 0.141 114.9);
Tailwind
colors: {
custom: {
50: '#c1c676',
500: '#a3af38',
950: '#000000',
},
}SCSS
$custom: #a3af38; $custom-light: #c1c676; $custom-dark: #000000;
JSON
{
"hex": "#a3af38",
"rgb": {
"r": 163,
"g": 175,
"b": 56
},
"hsl": {
"h": 66.05,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.72215,
"c": 0.14083,
"h": 114.9
},
"luminance": 0.38732
}Semantic roles & 50–950 ramp
primary
#A3AF38
secondary
#8680C3
accent
#4DDB5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B