#BBB842#BBB842
#BBB842 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.3% C 0.138 H 107.9°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB842 |
|---|---|
| RGB | rgb(187, 184, 66) |
| HSL | hsl(59, 48%, 50%) |
| HSV | hsv(59, 65%, 73%) |
| CMYK | cmyk(0%, 1.6%, 64.7%, 26.7%) |
| CIE-LAB | lab(73.05, -13.50, 58.04) |
| CIE-LCH | lch(73.05, 59.59, 103.10°) |
| OKLab | oklab(76.3% -0.0422 0.1311) |
| OKLCH | oklch(76.3% 0.138 107.9) |
| XYZ | xyz(38.6187, 45.2403, 11.8512) |
| Luminance | 0.4524 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 4.45
Olive Yellow
#C2B709
ΔE00 4.59
Mustard Green
#A8B504
ΔE00 5.05
Snot
#ACBB0D
ΔE00 5.10
Vomit Yellow
#C7C10C
ΔE00 5.15
Bile
#B5C306
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB842 #4245BB
analogous
#BB7B42 #BBB842 #82BB42
triadic
#BBB842 #42BBB8 #B842BB
tetradic
#BBB842 #42BB7B #4245BB #BB4282
square
#BBB842 #42BB7B #4245BB #BB4282
split-complementary
#BBB842 #4282BB #7B42BB
monochromatic
#615F22 #8E8B32 #BBB842 #CCCA6E #DCDA9C
Accessibility & contrast
On white
2.09
#BBB842 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#BBB842 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB842
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB842 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB842 | 1.00 | 2.09 | 10.05 | 10.05 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B132
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#C8ADA0
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bbb842; /* rgb */ color: rgb(187, 184, 66); /* oklch */ color: oklch(76.3% 0.138 107.9);
Tailwind
colors: {
custom: {
50: '#d2cd7c',
500: '#bbb842',
950: '#000000',
},
}SCSS
$custom: #bbb842; $custom-light: #d2cd7c; $custom-dark: #000000;
JSON
{
"hex": "#bbb842",
"rgb": {
"r": 187,
"g": 184,
"b": 66
},
"hsl": {
"h": 58.512,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.76302,
"c": 0.13777,
"h": 107.9
},
"luminance": 0.45239
}Semantic roles & 50–950 ramp
primary
#BBB842
secondary
#9192C8
accent
#54D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C