#A6B830#A6B830
#A6B830 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.4% C 0.155 H 117.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B830 |
|---|---|
| RGB | rgb(166, 184, 48) |
| HSL | hsl(68, 59%, 45%) |
| HSV | hsv(68, 74%, 72%) |
| CMYK | cmyk(9.8%, 0%, 73.9%, 27.8%) |
| CIE-LAB | lab(71.28, -23.39, 62.54) |
| CIE-LCH | lch(71.28, 66.77, 110.50°) |
| OKLab | oklab(74.44% -0.0704 0.1383) |
| OKLCH | oklch(74.44% 0.155 117) |
| XYZ | xyz(33.4007, 42.6018, 9.2592) |
| Luminance | 0.4260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.07
Pea
#A4BF20
ΔE00 2.53
Snot
#ACBB0D
ΔE00 2.81
Mustard Green
#A8B504
ΔE00 2.87
Bright Olive
#9CBB04
ΔE00 2.99
Booger
#9BB53C
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B830 #4230B8
analogous
#B88630 #A6B830 #62B830
triadic
#A6B830 #30A6B8 #B830A6
tetradic
#A6B830 #30B886 #4230B8 #B83062
square
#A6B830 #30B886 #4230B8 #B83062
split-complementary
#A6B830 #3062B8 #8630B8
monochromatic
#4E5717 #7A8723 #A6B830 #C1D253 #D3DF84
Accessibility & contrast
On white
2.21
#A6B830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#A6B830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B830
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B830 | 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)
#C5AE13
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#B0AE9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a6b830; /* rgb */ color: rgb(166, 184, 48); /* oklch */ color: oklch(74.4% 0.155 117.0);
Tailwind
colors: {
custom: {
50: '#c4cd72',
500: '#a6b830',
950: '#000000',
},
}SCSS
$custom: #a6b830; $custom-light: #c4cd72; $custom-dark: #000000;
JSON
{
"hex": "#a6b830",
"rgb": {
"r": 166,
"g": 184,
"b": 48
},
"hsl": {
"h": 67.941,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.74444,
"c": 0.15516,
"h": 117
},
"luminance": 0.42601
}Semantic roles & 50–950 ramp
primary
#A6B830
secondary
#867CC8
accent
#46E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B