#B6B02E#B6B02E
#B6B02E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.144 H 106.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B02E |
|---|---|
| RGB | rgb(182, 176, 46) |
| HSL | hsl(57, 60%, 45%) |
| HSV | hsv(57, 75%, 71%) |
| CMYK | cmyk(0%, 3.3%, 74.7%, 28.6%) |
| CIE-LAB | lab(70.31, -12.59, 62.75) |
| CIE-LCH | lch(70.31, 64.00, 101.35°) |
| OKLab | oklab(73.98% -0.0414 0.1378) |
| OKLCH | oklch(73.98% 0.144 106.7) |
| XYZ | xyz(35.3113, 41.1943, 8.6755) |
| Luminance | 0.4119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.68
Puke
#A5A502
ΔE00 4.06
Muddy Yellow
#BFAC05
ΔE00 4.19
Vomit
#A2A415
ΔE00 4.46
Puke Yellow
#C2BE0E
ΔE00 4.60
Mustard Green
#A8B504
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B02E #2E34B6
analogous
#B66C2E #B6B02E #78B62E
triadic
#B6B02E #2EB6B0 #B02EB6
tetradic
#B6B02E #2EB66C #2E34B6 #B62E78
square
#B6B02E #2EB66C #2E34B6 #B62E78
split-complementary
#B6B02E #2E78B6 #6C2EB6
monochromatic
#545215 #858122 #B6B02E #D2CD4F #DFDB80
Accessibility & contrast
On white
2.27
#B6B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#B6B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B02E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B02E | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#C4A497
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b6b02e; /* rgb */ color: rgb(182, 176, 46); /* oklch */ color: oklch(74.0% 0.144 106.7);
Tailwind
colors: {
custom: {
50: '#d0c771',
500: '#b6b02e',
950: '#000000',
},
}SCSS
$custom: #b6b02e; $custom-light: #d0c771; $custom-dark: #000000;
JSON
{
"hex": "#b6b02e",
"rgb": {
"r": 182,
"g": 176,
"b": 46
},
"hsl": {
"h": 57.353,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.73975,
"c": 0.14389,
"h": 106.7
},
"luminance": 0.41193
}Semantic roles & 50–950 ramp
primary
#B6B02E
secondary
#787CC8
accent
#4CE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B