#A3AF27#A3AF27
#A3AF27 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.151 H 114.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF27 |
|---|---|
| RGB | rgb(163, 175, 39) |
| HSL | hsl(65, 64%, 42%) |
| HSV | hsv(65, 78%, 69%) |
| CMYK | cmyk(6.9%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(68.46, -20.60, 62.74) |
| CIE-LCH | lch(68.46, 66.04, 108.17°) |
| OKLab | oklab(72.1% -0.0633 0.1372) |
| OKLCH | oklch(72.1% 0.151 114.8) |
| XYZ | xyz(30.8014, 38.5935, 7.7458) |
| Luminance | 0.3859 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.13
Mustard Green
#A8B504
ΔE00 2.66
Barf Green
#94AC02
ΔE00 3.06
Pea Soup Green
#94A617
ΔE00 3.29
Sickly Green
#94B21C
ΔE00 3.75
Vomit
#A2A415
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF27 #3327AF
analogous
#AF7727 #A3AF27 #5FAF27
triadic
#A3AF27 #27A3AF #AF27A3
tetradic
#A3AF27 #27AF77 #3327AF #AF275F
square
#A3AF27 #27AF77 #3327AF #AF275F
split-complementary
#A3AF27 #275FAF #7727AF
monochromatic
#464B11 #747D1C #A3AF27 #C7D43F #D6DF71
Accessibility & contrast
On white
2.41
#A3AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#A3AF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF27
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF27 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af27; /* rgb */ color: rgb(163, 175, 39); /* oklch */ color: oklch(72.1% 0.151 114.8);
Tailwind
colors: {
custom: {
50: '#c2c66d',
500: '#a3af27',
950: '#000000',
},
}SCSS
$custom: #a3af27; $custom-light: #c2c66d; $custom-dark: #000000;
JSON
{
"hex": "#a3af27",
"rgb": {
"r": 163,
"g": 175,
"b": 39
},
"hsl": {
"h": 65.294,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.72102,
"c": 0.15111,
"h": 114.8
},
"luminance": 0.38593
}Semantic roles & 50–950 ramp
primary
#A3AF27
secondary
#736BC6
accent
#41E750
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A