#BBCF38#BBCF38
#BBCF38 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.3% C 0.169 H 117.0°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BBCF38 |
|---|---|
| RGB | rgb(187, 207, 56) |
| HSL | hsl(68, 61%, 52%) |
| HSV | hsv(68, 73%, 81%) |
| CMYK | cmyk(9.7%, 0%, 72.9%, 18.8%) |
| CIE-LAB | lab(79.31, -25.46, 68.03) |
| CIE-LCH | lch(79.31, 72.64, 110.52°) |
| OKLab | oklab(81.3% -0.0766 0.1506) |
| OKLCH | oklch(81.3% 0.169 117) |
| XYZ | xyz(43.5212, 55.4765, 12.1560) |
| Luminance | 0.5548 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.30
Baby Puke Green
#B6C406
ΔE00 3.63
Bile
#B5C306
ΔE00 3.78
Pea
#A4BF20
ΔE00 4.67
Yellowish Green
#B0DD16
ΔE00 4.99
Gross Green
#A0BF16
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBCF38 #4C38CF
analogous
#CF9838 #BBCF38 #70CF38
triadic
#BBCF38 #38BBCF #CF38BB
tetradic
#BBCF38 #38CF98 #4C38CF #CF3870
square
#BBCF38 #38CF98 #4C38CF #CF3870
split-complementary
#BBCF38 #3870CF #9838CF
monochromatic
#66711B #92A327 #BBCF38 #CCDB69 #DDE79B
Accessibility & contrast
On white
1.74
#BBCF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#BBCF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBCF38
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBCF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBCF38 | 1.00 | 1.74 | 12.10 | 12.10 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC419
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#C7C3B2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #bbcf38; /* rgb */ color: rgb(187, 207, 56); /* oklch */ color: oklch(81.3% 0.169 117.0);
Tailwind
colors: {
custom: {
50: '#d3dd79',
500: '#bbcf38',
950: '#000000',
},
}SCSS
$custom: #bbcf38; $custom-light: #d3dd79; $custom-dark: #000000;
JSON
{
"hex": "#bbcf38",
"rgb": {
"r": 187,
"g": 207,
"b": 56
},
"hsl": {
"h": 67.947,
"s": 61.134,
"l": 51.569
},
"oklch": {
"l": 0.81297,
"c": 0.16893,
"h": 117
},
"luminance": 0.55476
}Semantic roles & 50–950 ramp
primary
#BBCF38
secondary
#3B317A
accent
#44E459
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D