#A8BD31#A8BD31
#A8BD31 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.7% C 0.160 H 117.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BD31 |
|---|---|
| RGB | rgb(168, 189, 49) |
| HSL | hsl(69, 59%, 47%) |
| HSV | hsv(69, 74%, 74%) |
| CMYK | cmyk(11.1%, 0%, 74.1%, 25.9%) |
| CIE-LAB | lab(72.85, -24.95, 63.75) |
| CIE-LCH | lch(72.85, 68.45, 111.37°) |
| OKLab | oklab(75.74% -0.0747 0.1409) |
| OKLCH | oklch(75.74% 0.16 117.9) |
| XYZ | xyz(34.9012, 44.9421, 9.7412) |
| Luminance | 0.4494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.53
Sick Green
#9DB92C
ΔE00 2.07
Gross Green
#A0BF16
ΔE00 2.24
Bright Olive
#9CBB04
ΔE00 2.65
Snot
#ACBB0D
ΔE00 2.78
Snot Green
#9DC100
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BD31 #4631BD
analogous
#BD8C31 #A8BD31 #62BD31
triadic
#A8BD31 #31A8BD #BD31A8
tetradic
#A8BD31 #31BD8C #4631BD #BD3162
square
#A8BD31 #31BD8C #4631BD #BD3162
split-complementary
#A8BD31 #3162BD #8C31BD
monochromatic
#525C18 #7D8C24 #A8BD31 #C1D458 #D3E088
Accessibility & contrast
On white
2.10
#A8BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#A8BD31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BD31
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BD31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BD31 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB313
Deuteranopia (green-blind)
#C8B33D
Tritanopia (blue-blind)
#B2B2A2
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #a8bd31; /* rgb */ color: rgb(168, 189, 49); /* oklch */ color: oklch(75.7% 0.160 117.9);
Tailwind
colors: {
custom: {
50: '#c5d074',
500: '#a8bd31',
950: '#000000',
},
}SCSS
$custom: #a8bd31; $custom-light: #c5d074; $custom-dark: #000000;
JSON
{
"hex": "#a8bd31",
"rgb": {
"r": 168,
"g": 189,
"b": 49
},
"hsl": {
"h": 69,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.75745,
"c": 0.15952,
"h": 117.9
},
"luminance": 0.44942
}Semantic roles & 50–950 ramp
primary
#A8BD31
secondary
#8B80CA
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B