#B6B42D#B6B42D
#B6B42D is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.148 H 108.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B42D |
|---|---|
| RGB | rgb(182, 180, 45) |
| HSL | hsl(59, 60%, 45%) |
| HSV | hsv(59, 75%, 71%) |
| CMYK | cmyk(0%, 1.1%, 75.3%, 28.6%) |
| CIE-LAB | lab(71.40, -14.69, 64.10) |
| CIE-LCH | lch(71.40, 65.76, 102.90°) |
| OKLab | oklab(74.85% -0.0474 0.1405) |
| OKLCH | oklch(74.85% 0.148 108.6) |
| XYZ | xyz(36.0877, 42.7782, 8.8382) |
| Luminance | 0.4278 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.60
Mustard Green
#A8B504
ΔE00 3.72
Puke Yellow
#C2BE0E
ΔE00 3.77
Snot
#ACBB0D
ΔE00 4.21
Puke
#A5A502
ΔE00 4.61
Vomit Yellow
#C7C10C
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B42D #2D2FB6
analogous
#B6702D #B6B42D #74B62D
triadic
#B6B42D #2DB6B4 #B42DB6
tetradic
#B6B42D #2DB670 #2D2FB6 #B62D74
square
#B6B42D #2DB670 #2D2FB6 #B62D74
split-complementary
#B6B42D #2D74B6 #702DB6
monochromatic
#545315 #858321 #B6B42D #D3D14D #DFDE7E
Accessibility & contrast
On white
2.20
#B6B42D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#B6B42D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B42D
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B42D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B42D | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC0C
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C3A89B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b6b42d; /* rgb */ color: rgb(182, 180, 45); /* oklch */ color: oklch(74.8% 0.148 108.6);
Tailwind
colors: {
custom: {
50: '#d0ca71',
500: '#b6b42d',
950: '#000000',
},
}SCSS
$custom: #b6b42d; $custom-light: #d0ca71; $custom-dark: #000000;
JSON
{
"hex": "#b6b42d",
"rgb": {
"r": 182,
"g": 180,
"b": 45
},
"hsl": {
"h": 59.124,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.74845,
"c": 0.14825,
"h": 108.6
},
"luminance": 0.42777
}Semantic roles & 50–950 ramp
primary
#B6B42D
secondary
#7778C8
accent
#47E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B