#A3AF23#A3AF23
#A3AF23 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.153 H 114.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A3AF23 |
|---|---|
| RGB | rgb(163, 175, 35) |
| HSL | hsl(65, 67%, 41%) |
| HSV | hsv(65, 80%, 69%) |
| CMYK | cmyk(6.9%, 0%, 80%, 31.4%) |
| CIE-LAB | lab(68.44, -20.75, 63.91) |
| CIE-LCH | lch(68.44, 67.19, 107.99°) |
| OKLab | oklab(72.08% -0.064 0.139) |
| OKLCH | oklch(72.08% 0.153 114.7) |
| XYZ | xyz(30.7385, 38.5684, 7.4150) |
| Luminance | 0.3857 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 2.00
Mustard Green
#A8B504
ΔE00 2.42
Barf Green
#94AC02
ΔE00 3.00
Pea Soup Green
#94A617
ΔE00 3.31
Vomit
#A2A415
ΔE00 3.69
Snot
#ACBB0D
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3AF23 #2F23AF
analogous
#AF7523 #A3AF23 #5DAF23
triadic
#A3AF23 #23A3AF #AF23A3
tetradic
#A3AF23 #23AF75 #2F23AF #AF235D
square
#A3AF23 #23AF75 #2F23AF #AF235D
split-complementary
#A3AF23 #235DAF #7523AF
monochromatic
#44490F #737C19 #A3AF23 #CAD738 #D7E16B
Accessibility & contrast
On white
2.41
#A3AF23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#A3AF23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A3AF23
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3AF23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A3AF23 | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a3af23; /* rgb */ color: rgb(163, 175, 35); /* oklch */ color: oklch(72.1% 0.153 114.7);
Tailwind
colors: {
custom: {
50: '#c2c66b',
500: '#a3af23',
950: '#000000',
},
}SCSS
$custom: #a3af23; $custom-light: #c2c66b; $custom-dark: #000000;
JSON
{
"hex": "#a3af23",
"rgb": {
"r": 163,
"g": 175,
"b": 35
},
"hsl": {
"h": 65.143,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.72081,
"c": 0.15303,
"h": 114.7
},
"luminance": 0.38568
}Semantic roles & 50–950 ramp
primary
#A3AF23
secondary
#6F66C7
accent
#3EEA4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A