#A8B318#A8B318
#A8B318 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.160 H 114.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B318 |
|---|---|
| RGB | rgb(168, 179, 24) |
| HSL | hsl(64, 76%, 40%) |
| HSV | hsv(64, 87%, 70%) |
| CMYK | cmyk(6.1%, 0%, 86.6%, 29.8%) |
| CIE-LAB | lab(69.92, -20.93, 68.02) |
| CIE-LCH | lch(69.92, 71.17, 107.10°) |
| OKLab | oklab(73.35% -0.0655 0.1458) |
| OKLCH | oklch(73.35% 0.16 114.2) |
| XYZ | xyz(32.4345, 40.6317, 6.9981) |
| Luminance | 0.4063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.94
Snot
#ACBB0D
ΔE00 2.28
Puke Green
#9AAE07
ΔE00 2.74
Barf Green
#94AC02
ΔE00 3.92
Booger Green
#96B403
ΔE00 3.98
Bright Olive
#9CBB04
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B318 #2318B3
analogous
#B37118 #A8B318 #5BB318
triadic
#A8B318 #18A8B3 #B318A8
tetradic
#A8B318 #18B371 #2318B3 #B3185B
square
#A8B318 #18B371 #2318B3 #B3185B
split-complementary
#A8B318 #185BB3 #7118B3
monochromatic
#43470A #757D11 #A8B318 #D5E226 #DFE95C
Accessibility & contrast
On white
2.30
#A8B318 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#A8B318 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B318
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B318 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2A
Tritanopia (blue-blind)
#B4A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b318; /* rgb */ color: rgb(168, 179, 24); /* oklch */ color: oklch(73.4% 0.160 114.2);
Tailwind
colors: {
custom: {
50: '#c6c968',
500: '#a8b318',
950: '#000000',
},
}SCSS
$custom: #a8b318; $custom-light: #c6c968; $custom-dark: #000000;
JSON
{
"hex": "#a8b318",
"rgb": {
"r": 168,
"g": 179,
"b": 24
},
"hsl": {
"h": 64.258,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.73352,
"c": 0.15984,
"h": 114.2
},
"luminance": 0.40631
}Semantic roles & 50–950 ramp
primary
#A8B318
secondary
#625ACD
accent
#35F342
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A