#A6B231#A6B231
#A6B231 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.148 H 114.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B231 |
|---|---|
| RGB | rgb(166, 178, 49) |
| HSL | hsl(66, 57%, 45%) |
| HSV | hsv(66, 72%, 70%) |
| CMYK | cmyk(6.7%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(69.59, -20.36, 60.57) |
| CIE-LCH | lch(69.59, 63.90, 108.58°) |
| OKLab | oklab(73.09% -0.0619 0.1343) |
| OKLCH | oklch(73.09% 0.148 114.8) |
| XYZ | xyz(32.2016, 40.1701, 8.9624) |
| Luminance | 0.4017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.83
Puke Green
#9AAE07
ΔE00 2.88
Sick Green
#9DB92C
ΔE00 3.54
Booger
#9BB53C
ΔE00 3.60
Snot
#ACBB0D
ΔE00 3.61
Barf Green
#94AC02
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B231 #3D31B2
analogous
#B27D31 #A6B231 #66B231
triadic
#A6B231 #31A6B2 #B231A6
tetradic
#A6B231 #31B27D #3D31B2 #B23166
square
#A6B231 #31B27D #3D31B2 #B23166
split-complementary
#A6B231 #3166B2 #7D31B2
monochromatic
#4C5217 #798224 #A6B231 #C3CF51 #D4DC81
Accessibility & contrast
On white
2.32
#A6B231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A6B231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B231
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B231 | 1.00 | 2.32 | 9.03 | 9.03 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA918
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b231; /* rgb */ color: rgb(166, 178, 49); /* oklch */ color: oklch(73.1% 0.148 114.8);
Tailwind
colors: {
custom: {
50: '#c4c872',
500: '#a6b231',
950: '#000000',
},
}SCSS
$custom: #a6b231; $custom-light: #c4c872; $custom-dark: #000000;
JSON
{
"hex": "#a6b231",
"rgb": {
"r": 166,
"g": 178,
"b": 49
},
"hsl": {
"h": 65.581,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.73087,
"c": 0.14788,
"h": 114.8
},
"luminance": 0.4017
}Semantic roles & 50–950 ramp
primary
#A6B231
secondary
#8079C5
accent
#48E056
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B