#A8BD21#A8BD21
#A8BD21 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.7% C 0.167 H 117.7°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A8BD21 |
|---|---|
| RGB | rgb(168, 189, 33) |
| HSL | hsl(68, 70%, 44%) |
| HSV | hsv(68, 83%, 74%) |
| CMYK | cmyk(11.1%, 0%, 82.5%, 25.9%) |
| CIE-LAB | lab(72.78, -25.59, 68.38) |
| CIE-LCH | lch(72.78, 73.01, 110.52°) |
| OKLab | oklab(75.66% -0.0777 0.148) |
| OKLCH | oklch(75.66% 0.167 117.7) |
| XYZ | xyz(34.6215, 44.8302, 8.2678) |
| Luminance | 0.4483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.22
Snot
#ACBB0D
ΔE00 1.79
Gross Green
#A0BF16
ΔE00 1.90
Bright Olive
#9CBB04
ΔE00 2.18
Sick Green
#9DB92C
ΔE00 2.62
Mustard Green
#A8B504
ΔE00 2.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8BD21 #3621BD
analogous
#BD8421 #A8BD21 #5ABD21
triadic
#A8BD21 #21A8BD #BD21A8
tetradic
#A8BD21 #21BD84 #3621BD #BD215A
square
#A8BD21 #21BD84 #3621BD #BD215A
split-complementary
#A8BD21 #215ABD #8421BD
monochromatic
#4B550F #7A8918 #A8BD21 #C8DD3E #D7E672
Accessibility & contrast
On white
2.11
#A8BD21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#A8BD21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8BD21
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8BD21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8BD21 | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C8B332
Tritanopia (blue-blind)
#B3B2A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #a8bd21; /* rgb */ color: rgb(168, 189, 33); /* oklch */ color: oklch(75.7% 0.167 117.7);
Tailwind
colors: {
custom: {
50: '#c6d06d',
500: '#a8bd21',
950: '#000000',
},
}SCSS
$custom: #a8bd21; $custom-light: #c6d06d; $custom-dark: #000000;
JSON
{
"hex": "#a8bd21",
"rgb": {
"r": 168,
"g": 189,
"b": 33
},
"hsl": {
"h": 68.077,
"s": 70.27,
"l": 43.529
},
"oklch": {
"l": 0.75662,
"c": 0.16721,
"h": 117.7
},
"luminance": 0.4483
}Semantic roles & 50–950 ramp
primary
#A8BD21
secondary
#7A6DCD
accent
#3BED53
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B