#A0B315#A0B315
#A0B315 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.164 H 117.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A0B315 |
|---|---|
| RGB | rgb(160, 179, 21) |
| HSL | hsl(67, 79%, 39%) |
| HSV | hsv(67, 88%, 70%) |
| CMYK | cmyk(10.6%, 0%, 88.3%, 29.8%) |
| CIE-LAB | lab(69.30, -24.43, 67.86) |
| CIE-LCH | lch(69.30, 72.13, 109.80°) |
| OKLab | oklab(72.71% -0.0748 0.1454) |
| OKLCH | oklch(72.71% 0.164 117.2) |
| XYZ | xyz(30.7535, 39.7683, 6.7653) |
| Luminance | 0.3977 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 1.51
Mustard Green
#A8B504
ΔE00 1.95
Booger Green
#96B403
ΔE00 2.18
Barf Green
#94AC02
ΔE00 2.52
Sickly Green
#94B21C
ΔE00 2.71
Snot
#ACBB0D
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0B315 #2815B3
analogous
#B37715 #A0B315 #51B315
triadic
#A0B315 #15A0B3 #B315A0
tetradic
#A0B315 #15B377 #2815B3 #B31551
square
#A0B315 #15B377 #2815B3 #B31551
split-complementary
#A0B315 #1551B3 #7715B3
monochromatic
#3E4508 #6F7C0F #A0B315 #CDE520 #D9EB57
Accessibility & contrast
On white
2.35
#A0B315 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#A0B315 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0B315
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0B315 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0B315 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA29
Tritanopia (blue-blind)
#ABA898
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a0b315; /* rgb */ color: rgb(160, 179, 21); /* oklch */ color: oklch(72.7% 0.164 117.2);
Tailwind
colors: {
custom: {
50: '#c0c967',
500: '#a0b315',
950: '#000000',
},
}SCSS
$custom: #a0b315; $custom-light: #c0c967; $custom-dark: #000000;
JSON
{
"hex": "#a0b315",
"rgb": {
"r": 160,
"g": 179,
"b": 21
},
"hsl": {
"h": 67.215,
"s": 79,
"l": 39.216
},
"oklch": {
"l": 0.72706,
"c": 0.16352,
"h": 117.2
},
"luminance": 0.39768
}Semantic roles & 50–950 ramp
primary
#A0B315
secondary
#6456CE
accent
#32F54A
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A