#BBCB42#BBCB42
#BBCB42 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.5% C 0.158 H 115.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BBCB42 |
|---|---|
| RGB | rgb(187, 203, 66) |
| HSL | hsl(67, 57%, 53%) |
| HSV | hsv(67, 67%, 80%) |
| CMYK | cmyk(7.9%, 0%, 67.5%, 20.4%) |
| CIE-LAB | lab(78.27, -22.99, 63.41) |
| CIE-LCH | lch(78.27, 67.45, 109.93°) |
| OKLab | oklab(80.48% -0.0688 0.1425) |
| OKLCH | oklch(80.48% 0.158 115.8) |
| XYZ | xyz(42.8339, 53.6706, 13.2562) |
| Luminance | 0.5367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.48
Baby Puke Green
#B6C406
ΔE00 3.69
Bile
#B5C306
ΔE00 3.77
Pea
#A4BF20
ΔE00 4.39
Snot
#ACBB0D
ΔE00 4.82
Gross Green
#A0BF16
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBCB42 #5242CB
analogous
#CB9642 #BBCB42 #77CB42
triadic
#BBCB42 #42BBCB #CB42BB
tetradic
#BBCB42 #42CB96 #5242CB #CB4277
square
#BBCB42 #42CB96 #5242CB #CB4277
split-complementary
#BBCB42 #4277CB #9642CB
monochromatic
#697320 #95A32D #BBCB42 #CCD872 #DEE5A2
Accessibility & contrast
On white
1.79
#BBCB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#BBCB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBCB42
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBCB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBCB42 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#C7C0B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #bbcb42; /* rgb */ color: rgb(187, 203, 66); /* oklch */ color: oklch(80.5% 0.158 115.8);
Tailwind
colors: {
custom: {
50: '#d3da7e',
500: '#bbcb42',
950: '#000000',
},
}SCSS
$custom: #bbcb42; $custom-light: #d3da7e; $custom-dark: #000000;
JSON
{
"hex": "#bbcb42",
"rgb": {
"r": 187,
"g": 203,
"b": 66
},
"hsl": {
"h": 67.007,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.80477,
"c": 0.15822,
"h": 115.8
},
"luminance": 0.5367
}Semantic roles & 50–950 ramp
primary
#BBCB42
secondary
#3E357C
accent
#48E059
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D