#B6B52D#B6B52D
#B6B52D 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 | #B6B52D |
|---|---|
| RGB | rgb(182, 181, 45) |
| HSL | hsl(60, 60%, 45%) |
| HSV | hsv(60, 75%, 71%) |
| CMYK | cmyk(0%, 0.5%, 75.3%, 28.6%) |
| CIE-LAB | lab(71.68, -15.19, 64.36) |
| CIE-LCH | lch(71.68, 66.12, 103.28°) |
| OKLab | oklab(75.06% -0.0488 0.141) |
| OKLCH | oklch(75.06% 0.149 109.1) |
| XYZ | xyz(36.2903, 43.1834, 8.9057) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.52
Puke Yellow
#C2BE0E
ΔE00 3.63
Olive Yellow
#C2B709
ΔE00 3.68
Snot
#ACBB0D
ΔE00 3.92
Vomit Yellow
#C7C10C
ΔE00 4.59
Puke
#A5A502
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B52D #2D2EB6
analogous
#B6712D #B6B52D #73B62D
triadic
#B6B52D #2DB6B5 #B52DB6
tetradic
#B6B52D #2DB671 #2D2EB6 #B62D73
square
#B6B52D #2DB671 #2D2EB6 #B62D73
split-complementary
#B6B52D #2D73B6 #712DB6
monochromatic
#545315 #858421 #B6B52D #D3D24D #DFDE7E
Accessibility & contrast
On white
2.18
#B6B52D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#B6B52D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B52D
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B52D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B52D | 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)
#C4AD0C
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C3A99B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b6b52d; /* rgb */ color: rgb(182, 181, 45); /* oklch */ color: oklch(75.1% 0.149 109.1);
Tailwind
colors: {
custom: {
50: '#d0ca71',
500: '#b6b52d',
950: '#000000',
},
}SCSS
$custom: #b6b52d; $custom-light: #d0ca71; $custom-dark: #000000;
JSON
{
"hex": "#b6b52d",
"rgb": {
"r": 182,
"g": 181,
"b": 45
},
"hsl": {
"h": 59.562,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.75064,
"c": 0.14922,
"h": 109.1
},
"luminance": 0.43182
}Semantic roles & 50–950 ramp
primary
#B6B52D
secondary
#7778C8
accent
#45E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B