#B6B22E#B6B22E
#B6B22E is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.146 H 107.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B22E |
|---|---|
| RGB | rgb(182, 178, 46) |
| HSL | hsl(58, 60%, 45%) |
| HSV | hsv(58, 75%, 71%) |
| CMYK | cmyk(0%, 2.2%, 74.7%, 28.6%) |
| CIE-LAB | lab(70.86, -13.62, 63.26) |
| CIE-LCH | lch(70.86, 64.71, 102.15°) |
| OKLab | oklab(74.41% -0.0443 0.1389) |
| OKLCH | oklch(74.41% 0.146 107.7) |
| XYZ | xyz(35.7063, 41.9843, 8.8072) |
| Luminance | 0.4198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.61
Puke Yellow
#C2BE0E
ΔE00 4.17
Mustard Green
#A8B504
ΔE00 4.22
Puke
#A5A502
ΔE00 4.30
Muddy Yellow
#BFAC05
ΔE00 4.66
Vomit
#A2A415
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B22E #2E32B6
analogous
#B66E2E #B6B22E #76B62E
triadic
#B6B22E #2EB6B2 #B22EB6
tetradic
#B6B22E #2EB66E #2E32B6 #B62E76
square
#B6B22E #2EB66E #2E32B6 #B62E76
split-complementary
#B6B22E #2E76B6 #6E2EB6
monochromatic
#545215 #858222 #B6B22E #D2CF4F #DFDC80
Accessibility & contrast
On white
2.23
#B6B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#B6B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B22E
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B22E | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB11
Deuteranopia (green-blind)
#C3B038
Tritanopia (blue-blind)
#C3A699
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b6b22e; /* rgb */ color: rgb(182, 178, 46); /* oklch */ color: oklch(74.4% 0.146 107.7);
Tailwind
colors: {
custom: {
50: '#d0c871',
500: '#b6b22e',
950: '#000000',
},
}SCSS
$custom: #b6b22e; $custom-light: #d0c871; $custom-dark: #000000;
JSON
{
"hex": "#b6b22e",
"rgb": {
"r": 182,
"g": 178,
"b": 46
},
"hsl": {
"h": 58.235,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.74412,
"c": 0.14578,
"h": 107.7
},
"luminance": 0.41983
}Semantic roles & 50–950 ramp
primary
#B6B22E
secondary
#787BC8
accent
#4AE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B