#A6B833#A6B833
#A6B833 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.153 H 117.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B833 |
|---|---|
| RGB | rgb(166, 184, 51) |
| HSL | hsl(68, 57%, 46%) |
| HSV | hsv(68, 72%, 72%) |
| CMYK | cmyk(9.8%, 0%, 72.3%, 27.8%) |
| CIE-LAB | lab(71.30, -23.24, 61.52) |
| CIE-LCH | lch(71.30, 65.76, 110.69°) |
| OKLab | oklab(74.46% -0.0697 0.1366) |
| OKLCH | oklch(74.46% 0.153 117) |
| XYZ | xyz(33.4647, 42.6274, 9.5963) |
| Luminance | 0.4263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.04
Pea
#A4BF20
ΔE00 2.66
Booger
#9BB53C
ΔE00 2.80
Snot
#ACBB0D
ΔE00 3.06
Mustard Green
#A8B504
ΔE00 3.12
Bright Olive
#9CBB04
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B833 #4533B8
analogous
#B88733 #A6B833 #63B833
triadic
#A6B833 #33A6B8 #B833A6
tetradic
#A6B833 #33B887 #4533B8 #B83363
square
#A6B833 #33B887 #4533B8 #B83363
split-complementary
#A6B833 #3363B8 #8733B8
monochromatic
#505818 #7B8826 #A6B833 #C0D158 #D2DE88
Accessibility & contrast
On white
2.20
#A6B833 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#A6B833 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B833
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B833 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B833 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE1A
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#B0AE9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a6b833; /* rgb */ color: rgb(166, 184, 51); /* oklch */ color: oklch(74.5% 0.153 117.0);
Tailwind
colors: {
custom: {
50: '#c4cd74',
500: '#a6b833',
950: '#000000',
},
}SCSS
$custom: #a6b833; $custom-light: #c4cd74; $custom-dark: #000000;
JSON
{
"hex": "#a6b833",
"rgb": {
"r": 166,
"g": 184,
"b": 51
},
"hsl": {
"h": 68.12,
"s": 56.596,
"l": 46.078
},
"oklch": {
"l": 0.74464,
"c": 0.15338,
"h": 117
},
"luminance": 0.42627
}Semantic roles & 50–950 ramp
primary
#A6B833
secondary
#897FC8
accent
#48E05C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B