#B6B52E#B6B52E
#B6B52E is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.149 H 109.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B52E |
|---|---|
| RGB | rgb(182, 181, 46) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 71%) |
| CMYK | cmyk(0%, 0.5%, 74.7%, 28.6%) |
| CIE-LAB | lab(71.68, -15.15, 64.03) |
| CIE-LCH | lch(71.68, 65.80, 103.31°) |
| OKLab | oklab(75.07% -0.0486 0.1405) |
| OKLCH | oklch(75.07% 0.149 109.1) |
| XYZ | xyz(36.3098, 43.1912, 9.0083) |
| Luminance | 0.4319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.55
Puke Yellow
#C2BE0E
ΔE00 3.69
Olive Yellow
#C2B709
ΔE00 3.74
Snot
#ACBB0D
ΔE00 3.94
Vomit Yellow
#C7C10C
ΔE00 4.64
Puke
#A5A502
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B52E #2E2FB6
analogous
#B6712E #B6B52E #73B62E
triadic
#B6B52E #2EB6B5 #B52EB6
tetradic
#B6B52E #2EB671 #2E2FB6 #B62E73
square
#B6B52E #2EB671 #2E2FB6 #B62E73
split-complementary
#B6B52E #2E73B6 #712EB6
monochromatic
#545415 #858422 #B6B52E #D2D14F #DFDE80
Accessibility & contrast
On white
2.18
#B6B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#B6B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B52E
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B52E | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C3A99B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b6b52e; /* rgb */ color: rgb(182, 181, 46); /* oklch */ color: oklch(75.1% 0.149 109.1);
Tailwind
colors: {
custom: {
50: '#d0ca71',
500: '#b6b52e',
950: '#000000',
},
}SCSS
$custom: #b6b52e; $custom-light: #d0ca71; $custom-dark: #000000;
JSON
{
"hex": "#b6b52e",
"rgb": {
"r": 182,
"g": 181,
"b": 46
},
"hsl": {
"h": 59.559,
"s": 59.649,
"l": 44.706
},
"oklch": {
"l": 0.7507,
"c": 0.14868,
"h": 109.1
},
"luminance": 0.4319
}Semantic roles & 50–950 ramp
primary
#B6B52E
secondary
#7879C8
accent
#46E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B