#A8B334#A8B334
#A8B334 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.147 H 114.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B334 |
|---|---|
| RGB | rgb(168, 179, 52) |
| HSL | hsl(65, 55%, 45%) |
| HSV | hsv(65, 71%, 70%) |
| CMYK | cmyk(6.1%, 0%, 70.9%, 29.8%) |
| CIE-LAB | lab(70.05, -19.86, 59.98) |
| CIE-LCH | lch(70.05, 63.18, 108.32°) |
| OKLab | oklab(73.5% -0.0604 0.1335) |
| OKLCH | oklch(73.5% 0.147 114.3) |
| XYZ | xyz(32.8893, 40.8136, 9.3934) |
| Luminance | 0.4081 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.91
Puke Green
#9AAE07
ΔE00 3.29
Snot
#ACBB0D
ΔE00 3.55
Sick Green
#9DB92C
ΔE00 3.67
Booger
#9BB53C
ΔE00 3.74
Barf Green
#94AC02
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B334 #3F34B3
analogous
#B37E34 #A8B334 #68B334
triadic
#A8B334 #34A8B3 #B334A8
tetradic
#A8B334 #34B37E #3F34B3 #B33468
square
#A8B334 #34B37E #3F34B3 #B33468
split-complementary
#A8B334 #3468B3 #7E34B3
monochromatic
#4F5418 #7B8426 #A8B334 #C4CE56 #D4DC86
Accessibility & contrast
On white
2.29
#A8B334 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A8B334 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B334
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B334 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B334 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b334; /* rgb */ color: rgb(168, 179, 52); /* oklch */ color: oklch(73.5% 0.147 114.3);
Tailwind
colors: {
custom: {
50: '#c5c974',
500: '#a8b334',
950: '#000000',
},
}SCSS
$custom: #a8b334; $custom-light: #c5c974; $custom-dark: #000000;
JSON
{
"hex": "#a8b334",
"rgb": {
"r": 168,
"g": 179,
"b": 52
},
"hsl": {
"h": 65.197,
"s": 54.978,
"l": 45.294
},
"oklch": {
"l": 0.73495,
"c": 0.14651,
"h": 114.3
},
"luminance": 0.40813
}Semantic roles & 50–950 ramp
primary
#A8B334
secondary
#847DC5
accent
#49DE56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B