#A8B333#A8B333
#A8B333 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 | #A8B333 |
|---|---|
| RGB | rgb(168, 179, 51) |
| HSL | hsl(65, 56%, 45%) |
| HSV | hsv(65, 72%, 70%) |
| CMYK | cmyk(6.1%, 0%, 71.5%, 29.8%) |
| CIE-LAB | lab(70.04, -19.91, 60.34) |
| CIE-LCH | lch(70.04, 63.54, 108.26°) |
| OKLab | oklab(73.49% -0.0606 0.1341) |
| OKLCH | oklch(73.49% 0.147 114.3) |
| XYZ | xyz(32.8670, 40.8047, 9.2760) |
| Luminance | 0.4080 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.81
Puke Green
#9AAE07
ΔE00 3.23
Snot
#ACBB0D
ΔE00 3.48
Sick Green
#9DB92C
ΔE00 3.67
Booger
#9BB53C
ΔE00 3.79
Barf Green
#94AC02
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B333 #3E33B3
analogous
#B37E33 #A8B333 #68B333
triadic
#A8B333 #33A8B3 #B333A8
tetradic
#A8B333 #33B37E #3E33B3 #B33368
square
#A8B333 #33B37E #3E33B3 #B33368
split-complementary
#A8B333 #3368B3 #7E33B3
monochromatic
#4F5418 #7B8325 #A8B333 #C4CE55 #D5DC84
Accessibility & contrast
On white
2.29
#A8B333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A8B333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B333
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B333 | 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)
#C0AA1C
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b333; /* rgb */ color: rgb(168, 179, 51); /* oklch */ color: oklch(73.5% 0.147 114.3);
Tailwind
colors: {
custom: {
50: '#c5c973',
500: '#a8b333',
950: '#000000',
},
}SCSS
$custom: #a8b333; $custom-light: #c5c973; $custom-dark: #000000;
JSON
{
"hex": "#a8b333",
"rgb": {
"r": 168,
"g": 179,
"b": 51
},
"hsl": {
"h": 65.156,
"s": 55.652,
"l": 45.098
},
"oklch": {
"l": 0.73488,
"c": 0.14714,
"h": 114.3
},
"luminance": 0.40804
}Semantic roles & 50–950 ramp
primary
#A8B333
secondary
#837CC6
accent
#49DF56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B