#BCC917#BCC917
#BCC917 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.9% C 0.176 H 114.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #BCC917 |
|---|---|
| RGB | rgb(188, 201, 23) |
| HSL | hsl(64, 79%, 44%) |
| HSV | hsv(64, 89%, 79%) |
| CMYK | cmyk(6.5%, 0%, 88.6%, 21.2%) |
| CIE-LAB | lab(77.60, -23.25, 75.07) |
| CIE-LCH | lch(77.60, 78.59, 107.21°) |
| OKLab | oklab(79.89% -0.0728 0.1603) |
| OKLCH | oklch(79.89% 0.176 114.4) |
| XYZ | xyz(41.7817, 52.5274, 8.7483) |
| Luminance | 0.5253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.35
Bile
#B5C306
ΔE00 1.60
Green Yellow
#B5CE08
ΔE00 2.44
Snot
#ACBB0D
ΔE00 3.84
Puke Yellow
#C2BE0E
ΔE00 4.37
Vomit Yellow
#C7C10C
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCC917 #2417C9
analogous
#C97D17 #BCC917 #63C917
triadic
#BCC917 #17BCC9 #C917BC
tetradic
#BCC917 #17C97D #2417C9 #C91763
square
#BCC917 #17C97D #2417C9 #C91763
split-complementary
#BCC917 #1763C9 #7D17C9
monochromatic
#555B0A #899211 #BCC917 #DBE835 #E5EE6C
Accessibility & contrast
On white
1.83
#BCC917 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#BCC917 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCC917
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCC917 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCC917 | 1.00 | 1.83 | 11.51 | 11.51 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D8C12E
Tritanopia (blue-blind)
#C9BCAB
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bcc917; /* rgb */ color: rgb(188, 201, 23); /* oklch */ color: oklch(79.9% 0.176 114.4);
Tailwind
colors: {
custom: {
50: '#d5d96c',
500: '#bcc917',
950: '#000000',
},
}SCSS
$custom: #bcc917; $custom-light: #d5d96c; $custom-dark: #000000;
JSON
{
"hex": "#bcc917",
"rgb": {
"r": 188,
"g": 201,
"b": 23
},
"hsl": {
"h": 64.382,
"s": 79.464,
"l": 43.922
},
"oklch": {
"l": 0.79892,
"c": 0.176,
"h": 114.4
},
"luminance": 0.52527
}Semantic roles & 50–950 ramp
primary
#BCC917
secondary
#231D67
accent
#32F640
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D