#A6B123#A6B123
#A6B123 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.154 H 114.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B123 |
|---|---|
| RGB | rgb(166, 177, 35) |
| HSL | hsl(65, 67%, 42%) |
| HSV | hsv(65, 80%, 69%) |
| CMYK | cmyk(6.2%, 0%, 80.2%, 30.6%) |
| CIE-LAB | lab(69.24, -20.46, 64.70) |
| CIE-LCH | lch(69.24, 67.86, 107.55°) |
| OKLab | oklab(72.78% -0.0634 0.1406) |
| OKLCH | oklch(72.78% 0.154 114.3) |
| XYZ | xyz(31.7524, 39.6733, 7.5748) |
| Luminance | 0.3967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.89
Puke Green
#9AAE07
ΔE00 2.41
Snot
#ACBB0D
ΔE00 3.10
Barf Green
#94AC02
ΔE00 3.51
Booger Green
#96B403
ΔE00 3.89
Pea Soup Green
#94A617
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B123 #2E23B1
analogous
#B17523 #A6B123 #5FB123
triadic
#A6B123 #23A6B1 #B123A6
tetradic
#A6B123 #23B175 #2E23B1 #B1235F
square
#A6B123 #23B175 #2E23B1 #B1235F
split-complementary
#A6B123 #235FB1 #7523B1
monochromatic
#464B0F #767E19 #A6B123 #CCD839 #D9E26C
Accessibility & contrast
On white
2.35
#A6B123 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#A6B123 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B123
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B123 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B123 | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#B1A697
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a6b123; /* rgb */ color: rgb(166, 177, 35); /* oklch */ color: oklch(72.8% 0.154 114.3);
Tailwind
colors: {
custom: {
50: '#c4c86c',
500: '#a6b123',
950: '#000000',
},
}SCSS
$custom: #a6b123; $custom-light: #c4c86c; $custom-dark: #000000;
JSON
{
"hex": "#a6b123",
"rgb": {
"r": 166,
"g": 177,
"b": 35
},
"hsl": {
"h": 64.648,
"s": 66.981,
"l": 41.569
},
"oklch": {
"l": 0.7278,
"c": 0.15421,
"h": 114.3
},
"luminance": 0.39673
}Semantic roles & 50–950 ramp
primary
#A6B123
secondary
#6F68C8
accent
#3EEA4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A