#A8BB1F#A8BB1F
#A8BB1F is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.2% C 0.166 H 117.0°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BB1F |
|---|---|
| RGB | rgb(168, 187, 31) |
| HSL | hsl(67, 72%, 43%) |
| HSV | hsv(67, 83%, 73%) |
| CMYK | cmyk(10.2%, 0%, 83.4%, 26.7%) |
| CIE-LAB | lab(72.20, -24.68, 68.37) |
| CIE-LCH | lch(72.20, 72.69, 109.85°) |
| OKLab | oklab(75.2% -0.0753 0.1477) |
| OKLCH | oklch(75.2% 0.166 117) |
| XYZ | xyz(34.1670, 43.9649, 7.9822) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.42
Pea
#A4BF20
ΔE00 1.76
Mustard Green
#A8B504
ΔE00 2.19
Gross Green
#A0BF16
ΔE00 2.36
Bright Olive
#9CBB04
ΔE00 2.38
Sick Green
#9DB92C
ΔE00 2.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BB1F #321FBB
analogous
#BB801F #A8BB1F #5ABB1F
triadic
#A8BB1F #1FA8BB #BB1FA8
tetradic
#A8BB1F #1FBB80 #321FBB #BB1F5A
square
#A8BB1F #1FBB80 #321FBB #BB1F5A
split-complementary
#A8BB1F #1F5ABB #801FBB
monochromatic
#4A520E #798716 #A8BB1F #CADE39 #D8E76E
Accessibility & contrast
On white
2.14
#A8BB1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#A8BB1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BB1F
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BB1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BB1F | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C7B230
Tritanopia (blue-blind)
#B3B0A0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a8bb1f; /* rgb */ color: rgb(168, 187, 31); /* oklch */ color: oklch(75.2% 0.166 117.0);
Tailwind
colors: {
custom: {
50: '#c6cf6c',
500: '#a8bb1f',
950: '#000000',
},
}SCSS
$custom: #a8bb1f; $custom-light: #c6cf6c; $custom-dark: #000000;
JSON
{
"hex": "#a8bb1f",
"rgb": {
"r": 168,
"g": 187,
"b": 31
},
"hsl": {
"h": 67.308,
"s": 71.56,
"l": 42.745
},
"oklch": {
"l": 0.75197,
"c": 0.16581,
"h": 117
},
"luminance": 0.43964
}Semantic roles & 50–950 ramp
primary
#A8BB1F
secondary
#7569CD
accent
#3AEE50
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#131308
muted
#82827A