#A4B318#A4B318
#A4B318 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.161 H 115.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B318 |
|---|---|
| RGB | rgb(164, 179, 24) |
| HSL | hsl(66, 76%, 40%) |
| HSV | hsv(66, 87%, 70%) |
| CMYK | cmyk(8.4%, 0%, 86.6%, 29.8%) |
| CIE-LAB | lab(69.61, -22.65, 67.64) |
| CIE-LCH | lch(69.61, 71.33, 108.51°) |
| OKLab | oklab(73.03% -0.07 0.1452) |
| OKLCH | oklch(73.03% 0.161 115.7) |
| XYZ | xyz(31.5958, 40.1992, 6.9588) |
| Luminance | 0.4020 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.29
Puke Green
#9AAE07
ΔE00 2.01
Snot
#ACBB0D
ΔE00 2.42
Booger Green
#96B403
ΔE00 3.05
Barf Green
#94AC02
ΔE00 3.15
Bright Olive
#9CBB04
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B318 #2718B3
analogous
#B37418 #A4B318 #57B318
triadic
#A4B318 #18A4B3 #B318A4
tetradic
#A4B318 #18B374 #2718B3 #B31857
square
#A4B318 #18B374 #2718B3 #B31857
split-complementary
#A4B318 #1857B3 #7418B3
monochromatic
#41470A #737D11 #A4B318 #D0E226 #DCE95C
Accessibility & contrast
On white
2.32
#A4B318 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A4B318 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B318
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B318 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2B
Tritanopia (blue-blind)
#AFA898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a4b318; /* rgb */ color: rgb(164, 179, 24); /* oklch */ color: oklch(73.0% 0.161 115.7);
Tailwind
colors: {
custom: {
50: '#c3c968',
500: '#a4b318',
950: '#000000',
},
}SCSS
$custom: #a4b318; $custom-light: #c3c968; $custom-dark: #000000;
JSON
{
"hex": "#a4b318",
"rgb": {
"r": 164,
"g": 179,
"b": 24
},
"hsl": {
"h": 65.806,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.7303,
"c": 0.16117,
"h": 115.7
},
"luminance": 0.40199
}Semantic roles & 50–950 ramp
primary
#A4B318
secondary
#655ACD
accent
#35F347
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A