#BBCB38#BBCB38
#BBCB38 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.4% C 0.165 H 115.7°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BBCB38 |
|---|---|
| RGB | rgb(187, 203, 56) |
| HSL | hsl(67, 59%, 51%) |
| HSV | hsv(67, 72%, 80%) |
| CMYK | cmyk(7.9%, 0%, 72.4%, 20.4%) |
| CIE-LAB | lab(78.21, -23.52, 66.97) |
| CIE-LCH | lch(78.21, 70.98, 109.35°) |
| OKLab | oklab(80.41% -0.0712 0.1483) |
| OKLCH | oklch(80.41% 0.165 115.7) |
| XYZ | xyz(42.5644, 53.5629, 11.8370) |
| Luminance | 0.5356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.71
Baby Puke Green
#B6C406
ΔE00 2.91
Bile
#B5C306
ΔE00 3.02
Pea
#A4BF20
ΔE00 4.26
Snot
#ACBB0D
ΔE00 4.42
Gross Green
#A0BF16
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBCB38 #4838CB
analogous
#CB9238 #BBCB38 #71CB38
triadic
#BBCB38 #38BBCB #CB38BB
tetradic
#BBCB38 #38CB92 #4838CB #CB3871
square
#BBCB38 #38CB92 #4838CB #CB3871
split-complementary
#BBCB38 #3871CB #9238CB
monochromatic
#646C1C #909D29 #BBCB38 #CCD869 #DCE499
Accessibility & contrast
On white
1.79
#BBCB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#BBCB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBCB38
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBCB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBCB38 | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C11B
Deuteranopia (green-blind)
#D8C344
Tritanopia (blue-blind)
#C7BFAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #bbcb38; /* rgb */ color: rgb(187, 203, 56); /* oklch */ color: oklch(80.4% 0.165 115.7);
Tailwind
colors: {
custom: {
50: '#d3da79',
500: '#bbcb38',
950: '#000000',
},
}SCSS
$custom: #bbcb38; $custom-light: #d3da79; $custom-dark: #000000;
JSON
{
"hex": "#bbcb38",
"rgb": {
"r": 187,
"g": 203,
"b": 56
},
"hsl": {
"h": 66.531,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.80406,
"c": 0.16455,
"h": 115.7
},
"luminance": 0.53562
}Semantic roles & 50–950 ramp
primary
#BBCB38
secondary
#393176
accent
#46E257
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D