#A0B340#A0B340
#A0B340 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.141 H 118.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A0B340 |
|---|---|
| RGB | rgb(160, 179, 64) |
| HSL | hsl(70, 47%, 48%) |
| HSV | hsv(70, 64%, 70%) |
| CMYK | cmyk(10.6%, 0%, 64.2%, 29.8%) |
| CIE-LAB | lab(69.53, -22.49, 54.53) |
| CIE-LCH | lch(69.53, 58.98, 112.41°) |
| OKLab | oklab(72.96% -0.0661 0.1241) |
| OKLCH | oklch(72.96% 0.141 118) |
| XYZ | xyz(31.5433, 40.0842, 10.9248) |
| Luminance | 0.4008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.49
Sick Green
#9DB92C
ΔE00 2.92
Avocado (survey)
#90B134
ΔE00 3.15
Sickly Green
#94B21C
ΔE00 3.39
Icky Green
#8FAE22
ΔE00 3.60
Puke Green
#9AAE07
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0B340 #5340B3
analogous
#B38C40 #A0B340 #66B340
triadic
#A0B340 #40A0B3 #B340A0
tetradic
#A0B340 #40B38C #5340B3 #B34066
square
#A0B340 #40B38C #5340B3 #B34066
split-complementary
#A0B340 #4066B3 #8C40B3
monochromatic
#4F5920 #788630 #A0B340 #B9C967 #CED994
Accessibility & contrast
On white
2.33
#A0B340 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#A0B340 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0B340
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0B340 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0B340 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA31
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#A9AA9B
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a0b340; /* rgb */ color: rgb(160, 179, 64); /* oklch */ color: oklch(73.0% 0.141 118.0);
Tailwind
colors: {
custom: {
50: '#bfc97a',
500: '#a0b340',
950: '#000000',
},
}SCSS
$custom: #a0b340; $custom-light: #bfc97a; $custom-dark: #000000;
JSON
{
"hex": "#a0b340",
"rgb": {
"r": 160,
"g": 179,
"b": 64
},
"hsl": {
"h": 69.913,
"s": 47.325,
"l": 47.647
},
"oklch": {
"l": 0.72959,
"c": 0.14059,
"h": 118
},
"luminance": 0.40084
}Semantic roles & 50–950 ramp
primary
#A0B340
secondary
#948AC4
accent
#51D767
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C