#A8BB31#A8BB31
#A8BB31 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.157 H 117.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BB31 |
|---|---|
| RGB | rgb(168, 187, 49) |
| HSL | hsl(68, 58%, 46%) |
| HSV | hsv(68, 74%, 73%) |
| CMYK | cmyk(10.2%, 0%, 73.8%, 26.7%) |
| CIE-LAB | lab(72.29, -23.97, 63.21) |
| CIE-LCH | lch(72.29, 67.60, 110.77°) |
| OKLab | oklab(75.29% -0.072 0.1398) |
| OKLCH | oklch(75.29% 0.157 117.3) |
| XYZ | xyz(34.4740, 44.0876, 9.5988) |
| Luminance | 0.4409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.97
Sick Green
#9DB92C
ΔE00 2.12
Snot
#ACBB0D
ΔE00 2.62
Gross Green
#A0BF16
ΔE00 2.64
Bright Olive
#9CBB04
ΔE00 2.83
Mustard Green
#A8B504
ΔE00 3.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BB31 #4431BB
analogous
#BB8931 #A8BB31 #63BB31
triadic
#A8BB31 #31A8BB #BB31A8
tetradic
#A8BB31 #31BB89 #4431BB #BB3163
square
#A8BB31 #31BB89 #4431BB #BB3163
split-complementary
#A8BB31 #3163BB #8931BB
monochromatic
#515A18 #7C8B24 #A8BB31 #C2D356 #D3E087
Accessibility & contrast
On white
2.14
#A8BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#A8BB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BB31
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BB31 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B3B0A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a8bb31; /* rgb */ color: rgb(168, 187, 49); /* oklch */ color: oklch(75.3% 0.157 117.3);
Tailwind
colors: {
custom: {
50: '#c5cf73',
500: '#a8bb31',
950: '#000000',
},
}SCSS
$custom: #a8bb31; $custom-light: #c5cf73; $custom-dark: #000000;
JSON
{
"hex": "#a8bb31",
"rgb": {
"r": 168,
"g": 187,
"b": 49
},
"hsl": {
"h": 68.261,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.75289,
"c": 0.15726,
"h": 117.3
},
"luminance": 0.44087
}Semantic roles & 50–950 ramp
primary
#A8BB31
secondary
#897FC9
accent
#46E25C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B