#A6B233#A6B233
#A6B233 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.147 H 114.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B233 |
|---|---|
| RGB | rgb(166, 178, 51) |
| HSL | hsl(66, 55%, 45%) |
| HSV | hsv(66, 71%, 70%) |
| CMYK | cmyk(6.7%, 0%, 71.3%, 30.2%) |
| CIE-LAB | lab(69.60, -20.26, 59.86) |
| CIE-LCH | lch(69.60, 63.20, 108.70°) |
| OKLab | oklab(73.1% -0.0615 0.1331) |
| OKLCH | oklch(73.1% 0.147 114.8) |
| XYZ | xyz(32.2447, 40.1874, 9.1897) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.00
Mustard Green
#A8B504
ΔE00 3.02
Booger
#9BB53C
ΔE00 3.50
Sick Green
#9DB92C
ΔE00 3.54
Snot
#ACBB0D
ΔE00 3.76
Barf Green
#94AC02
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B233 #3F33B2
analogous
#B27E33 #A6B233 #67B233
triadic
#A6B233 #33A6B2 #B233A6
tetradic
#A6B233 #33B27E #3F33B2 #B23367
square
#A6B233 #33B27E #3F33B2 #B23367
split-complementary
#A6B233 #3367B2 #7E33B2
monochromatic
#4D5318 #7A8225 #A6B233 #C3CE54 #D3DC84
Accessibility & contrast
On white
2.32
#A6B233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A6B233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B233
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B233 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA91C
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b233; /* rgb */ color: rgb(166, 178, 51); /* oklch */ color: oklch(73.1% 0.147 114.8);
Tailwind
colors: {
custom: {
50: '#c4c873',
500: '#a6b233',
950: '#000000',
},
}SCSS
$custom: #a6b233; $custom-light: #c4c873; $custom-dark: #000000;
JSON
{
"hex": "#a6b233",
"rgb": {
"r": 166,
"g": 178,
"b": 51
},
"hsl": {
"h": 65.669,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.731,
"c": 0.14664,
"h": 114.8
},
"luminance": 0.40187
}Semantic roles & 50–950 ramp
primary
#A6B233
secondary
#837CC5
accent
#49DF57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B