#A8B11B#A8B11B
#A8B11B is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.157 H 113.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B11B |
|---|---|
| RGB | rgb(168, 177, 27) |
| HSL | hsl(64, 74%, 40%) |
| HSV | hsv(64, 85%, 69%) |
| CMYK | cmyk(5.1%, 0%, 84.7%, 30.6%) |
| CIE-LAB | lab(69.36, -19.85, 66.91) |
| CIE-LCH | lch(69.36, 69.79, 106.53°) |
| OKLab | oklab(72.91% -0.0623 0.1439) |
| OKLCH | oklch(72.91% 0.157 113.4) |
| XYZ | xyz(32.0695, 39.8490, 7.0390) |
| Luminance | 0.3985 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.53
Puke Green
#9AAE07
ΔE00 2.80
Snot
#ACBB0D
ΔE00 2.91
Puke
#A5A502
ΔE00 3.81
Vomit
#A2A415
ΔE00 3.82
Barf Green
#94AC02
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B11B #241BB1
analogous
#B16F1B #A8B11B #5DB11B
triadic
#A8B11B #1BA8B1 #B11BA8
tetradic
#A8B11B #1BB16F #241BB1 #B11B5D
square
#A8B11B #1BB16F #241BB1 #B11B5D
split-complementary
#A8B11B #1B5DB1 #6F1BB1
monochromatic
#43470B #767C13 #A8B11B #D4DF2B #DFE760
Accessibility & contrast
On white
2.34
#A8B11B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#A8B11B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B11B
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B11B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B11B | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#B4A697
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a8b11b; /* rgb */ color: rgb(168, 177, 27); /* oklch */ color: oklch(72.9% 0.157 113.4);
Tailwind
colors: {
custom: {
50: '#c6c869',
500: '#a8b11b',
950: '#000000',
},
}SCSS
$custom: #a8b11b; $custom-light: #c6c869; $custom-dark: #000000;
JSON
{
"hex": "#a8b11b",
"rgb": {
"r": 168,
"g": 177,
"b": 27
},
"hsl": {
"h": 63.6,
"s": 73.529,
"l": 40
},
"oklch": {
"l": 0.72909,
"c": 0.1568,
"h": 113.4
},
"luminance": 0.39848
}Semantic roles & 50–950 ramp
primary
#A8B11B
secondary
#635DCB
accent
#38F043
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A