#BBBB2E#BBBB2E
#BBBB2E is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.154 H 109.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #BBBB2E |
|---|---|
| RGB | rgb(187, 187, 46) |
| HSL | hsl(60, 61%, 46%) |
| HSV | hsv(60, 75%, 73%) |
| CMYK | cmyk(0%, 0%, 75.4%, 26.7%) |
| CIE-LAB | lab(73.74, -16.04, 66.08) |
| CIE-LCH | lch(73.74, 68.00, 103.65°) |
| OKLab | oklab(76.81% -0.0513 0.1447) |
| OKLCH | oklch(76.81% 0.154 109.5) |
| XYZ | xyz(38.7584, 46.3039, 9.4801) |
| Luminance | 0.4630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 2.55
Vomit Yellow
#C7C10C
ΔE00 3.41
Olive Yellow
#C2B709
ΔE00 3.53
Snot
#ACBB0D
ΔE00 3.56
Bile
#B5C306
ΔE00 3.76
Mustard Green
#A8B504
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBBB2E #2E2EBB
analogous
#BB742E #BBBB2E #74BB2E
triadic
#BBBB2E #2EBBBB #BB2EBB
tetradic
#BBBB2E #2EBB74 #2E2EBB #BB2E74
square
#BBBB2E #2EBB74 #2E2EBB #BB2E74
split-complementary
#BBBB2E #2E74BB #742EBB
monochromatic
#595916 #8A8A22 #BBBB2E #D4D452 #E0E083
Accessibility & contrast
On white
2.05
#BBBB2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#BBBB2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBBB2E
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBBB2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBBB2E | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB30A
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#C9AFA1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #bbbb2e; /* rgb */ color: rgb(187, 187, 46); /* oklch */ color: oklch(76.8% 0.154 109.5);
Tailwind
colors: {
custom: {
50: '#d3cf72',
500: '#bbbb2e',
950: '#000000',
},
}SCSS
$custom: #bbbb2e; $custom-light: #d3cf72; $custom-dark: #000000;
JSON
{
"hex": "#bbbb2e",
"rgb": {
"r": 187,
"g": 187,
"b": 46
},
"hsl": {
"h": 60,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.76814,
"c": 0.15352,
"h": 109.5
},
"luminance": 0.46303
}Semantic roles & 50–950 ramp
primary
#BBBB2E
secondary
#7B7BCA
accent
#44E444
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B