#BCCB40#BCCB40
#BCCB40 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.159 H 115.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BCCB40 |
|---|---|
| RGB | rgb(188, 203, 64) |
| HSL | hsl(66, 57%, 52%) |
| HSV | hsv(66, 68%, 80%) |
| CMYK | cmyk(7.4%, 0%, 68.5%, 20.4%) |
| CIE-LAB | lab(78.33, -22.69, 64.25) |
| CIE-LCH | lch(78.33, 68.14, 109.45°) |
| OKLab | oklab(80.54% -0.0683 0.1439) |
| OKLCH | oklch(80.54% 0.159 115.4) |
| XYZ | xyz(43.0215, 53.7741, 12.9626) |
| Luminance | 0.5377 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.36
Baby Puke Green
#B6C406
ΔE00 3.46
Bile
#B5C306
ΔE00 3.55
Pea
#A4BF20
ΔE00 4.48
Snot
#ACBB0D
ΔE00 4.73
Gross Green
#A0BF16
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCCB40 #4F40CB
analogous
#CB9540 #BCCB40 #76CB40
triadic
#BCCB40 #40BCCB #CB40BC
tetradic
#BCCB40 #40CB95 #4F40CB #CB4076
square
#BCCB40 #40CB95 #4F40CB #CB4076
split-complementary
#BCCB40 #4076CB #9540CB
monochromatic
#69721F #95A22C #BCCB40 #CDD870 #DEE5A0
Accessibility & contrast
On white
1.79
#BCCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.75
#BCCB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCCB40
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCCB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCCB40 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#C8BFAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #bccb40; /* rgb */ color: rgb(188, 203, 64); /* oklch */ color: oklch(80.5% 0.159 115.4);
Tailwind
colors: {
custom: {
50: '#d3da7d',
500: '#bccb40',
950: '#000000',
},
}SCSS
$custom: #bccb40; $custom-light: #d3da7d; $custom-dark: #000000;
JSON
{
"hex": "#bccb40",
"rgb": {
"r": 188,
"g": 203,
"b": 64
},
"hsl": {
"h": 66.475,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.8054,
"c": 0.15926,
"h": 115.4
},
"luminance": 0.53773
}Semantic roles & 50–950 ramp
primary
#BCCB40
secondary
#3C357B
accent
#47E058
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D