#A6BD28#A6BD28
#A6BD28 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.5% C 0.165 H 118.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BD28 |
|---|---|
| RGB | rgb(166, 189, 40) |
| HSL | hsl(69, 65%, 45%) |
| HSV | hsv(69, 79%, 74%) |
| CMYK | cmyk(12.2%, 0%, 78.8%, 25.9%) |
| CIE-LAB | lab(72.66, -26.17, 66.34) |
| CIE-LCH | lch(72.66, 71.31, 111.53°) |
| OKLab | oklab(75.54% -0.0787 0.1449) |
| OKLCH | oklch(75.54% 0.165 118.5) |
| XYZ | xyz(34.3073, 44.6557, 8.8192) |
| Luminance | 0.4466 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.92
Gross Green
#A0BF16
ΔE00 1.62
Sick Green
#9DB92C
ΔE00 1.97
Bright Olive
#9CBB04
ΔE00 2.00
Snot
#ACBB0D
ΔE00 2.52
Snot Green
#9DC100
ΔE00 2.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BD28 #3F28BD
analogous
#BD8A28 #A6BD28 #5BBD28
triadic
#A6BD28 #28A6BD #BD28A6
tetradic
#A6BD28 #28BD8A #3F28BD #BD285B
square
#A6BD28 #28BD8A #3F28BD #BD285B
split-complementary
#A6BD28 #285BBD #8A28BD
monochromatic
#4D5813 #7A8A1D #A6BD28 #C3D94A #D3E37C
Accessibility & contrast
On white
2.11
#A6BD28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#A6BD28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BD28
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BD28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BD28 | 1.00 | 2.11 | 9.93 | 9.93 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#B0B2A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a6bd28; /* rgb */ color: rgb(166, 189, 40); /* oklch */ color: oklch(75.5% 0.165 118.5);
Tailwind
colors: {
custom: {
50: '#c4d06f',
500: '#a6bd28',
950: '#000000',
},
}SCSS
$custom: #a6bd28; $custom-light: #c4d06f; $custom-dark: #000000;
JSON
{
"hex": "#a6bd28",
"rgb": {
"r": 166,
"g": 189,
"b": 40
},
"hsl": {
"h": 69.262,
"s": 65.066,
"l": 44.902
},
"oklch": {
"l": 0.75542,
"c": 0.16493,
"h": 118.5
},
"luminance": 0.44655
}Semantic roles & 50–950 ramp
primary
#A6BD28
secondary
#8375CB
accent
#40E85A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B