#B6B42B#B6B42B
#B6B42B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.149 H 108.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B6B42B |
|---|---|
| RGB | rgb(182, 180, 43) |
| HSL | hsl(59, 62%, 44%) |
| HSV | hsv(59, 76%, 71%) |
| CMYK | cmyk(0%, 1.1%, 76.4%, 28.6%) |
| CIE-LAB | lab(71.39, -14.77, 64.73) |
| CIE-LCH | lch(71.39, 66.40, 102.85°) |
| OKLab | oklab(74.83% -0.0478 0.1415) |
| OKLCH | oklch(74.83% 0.149 108.7) |
| XYZ | xyz(36.0501, 42.7632, 8.6402) |
| Luminance | 0.4276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.49
Mustard Green
#A8B504
ΔE00 3.66
Puke Yellow
#C2BE0E
ΔE00 3.67
Snot
#ACBB0D
ΔE00 4.16
Puke
#A5A502
ΔE00 4.57
Vomit Yellow
#C7C10C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6B42B #2B2DB6
analogous
#B66F2B #B6B42B #73B62B
triadic
#B6B42B #2BB6B4 #B42BB6
tetradic
#B6B42B #2BB66F #2B2DB6 #B62B73
square
#B6B42B #2BB66F #2B2DB6 #B62B73
split-complementary
#B6B42B #2B73B6 #6F2BB6
monochromatic
#535214 #84831F #B6B42B #D4D24A #E0DE7B
Accessibility & contrast
On white
2.20
#B6B42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#B6B42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6B42B
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6B42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6B42B | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC05
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#C3A89A
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b6b42b; /* rgb */ color: rgb(182, 180, 43); /* oklch */ color: oklch(74.8% 0.149 108.7);
Tailwind
colors: {
custom: {
50: '#d0ca70',
500: '#b6b42b',
950: '#000000',
},
}SCSS
$custom: #b6b42b; $custom-light: #d0ca70; $custom-dark: #000000;
JSON
{
"hex": "#b6b42b",
"rgb": {
"r": 182,
"g": 180,
"b": 43
},
"hsl": {
"h": 59.137,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.74833,
"c": 0.1493,
"h": 108.7
},
"luminance": 0.42762
}Semantic roles & 50–950 ramp
primary
#B6B42B
secondary
#7576C8
accent
#45E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B