#A6B832#A6B832
#A6B832 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.5% C 0.154 H 117.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B832 |
|---|---|
| RGB | rgb(166, 184, 50) |
| HSL | hsl(68, 57%, 46%) |
| HSV | hsv(68, 73%, 72%) |
| CMYK | cmyk(9.8%, 0%, 72.8%, 27.8%) |
| CIE-LAB | lab(71.30, -23.29, 61.86) |
| CIE-LCH | lch(71.30, 66.10, 110.63°) |
| OKLab | oklab(74.46% -0.07 0.1372) |
| OKLCH | oklch(74.46% 0.154 117) |
| XYZ | xyz(33.4429, 42.6187, 9.4815) |
| Luminance | 0.4262 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.05
Pea
#A4BF20
ΔE00 2.61
Booger
#9BB53C
ΔE00 2.87
Snot
#ACBB0D
ΔE00 2.98
Mustard Green
#A8B504
ΔE00 3.03
Bright Olive
#9CBB04
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B832 #4432B8
analogous
#B88732 #A6B832 #63B832
triadic
#A6B832 #32A6B8 #B832A6
tetradic
#A6B832 #32B887 #4432B8 #B83263
square
#A6B832 #32B887 #4432B8 #B83263
split-complementary
#A6B832 #3263B8 #8732B8
monochromatic
#4F5818 #7B8825 #A6B832 #C1D156 #D2DE86
Accessibility & contrast
On white
2.21
#A6B832 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#A6B832 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B832
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B832 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B832 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE18
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#B0AE9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a6b832; /* rgb */ color: rgb(166, 184, 50); /* oklch */ color: oklch(74.5% 0.154 117.0);
Tailwind
colors: {
custom: {
50: '#c4cd73',
500: '#a6b832',
950: '#000000',
},
}SCSS
$custom: #a6b832; $custom-light: #c4cd73; $custom-dark: #000000;
JSON
{
"hex": "#a6b832",
"rgb": {
"r": 166,
"g": 184,
"b": 50
},
"hsl": {
"h": 68.06,
"s": 57.265,
"l": 45.882
},
"oklch": {
"l": 0.74457,
"c": 0.15398,
"h": 117
},
"luminance": 0.42618
}Semantic roles & 50–950 ramp
primary
#A6B832
secondary
#887EC8
accent
#47E15C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B