#BCC840#BCC840
#BCC840 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.9% C 0.156 H 114.3°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #BCC840 |
|---|---|
| RGB | rgb(188, 200, 64) |
| HSL | hsl(65, 55%, 52%) |
| HSV | hsv(65, 68%, 78%) |
| CMYK | cmyk(6%, 0%, 68%, 21.6%) |
| CIE-LAB | lab(77.50, -21.22, 63.42) |
| CIE-LCH | lch(77.50, 66.88, 108.50°) |
| OKLab | oklab(79.88% -0.0642 0.1421) |
| OKLCH | oklch(79.88% 0.156 114.3) |
| XYZ | xyz(42.3199, 52.3709, 12.7287) |
| Luminance | 0.5237 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.24
Bile
#B5C306
ΔE00 3.28
Green Yellow
#B5CE08
ΔE00 3.87
Snot
#ACBB0D
ΔE00 4.25
Pea
#A4BF20
ΔE00 4.42
Gross Green
#A0BF16
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCC840 #4C40C8
analogous
#C89040 #BCC840 #78C840
triadic
#BCC840 #40BCC8 #C840BC
tetradic
#BCC840 #40C890 #4C40C8 #C84078
square
#BCC840 #40C890 #4C40C8 #C84078
split-complementary
#BCC840 #4078C8 #9040C8
monochromatic
#676E20 #949D2D #BCC840 #CDD670 #DDE39F
Accessibility & contrast
On white
1.83
#BCC840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#BCC840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCC840
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCC840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCC840 | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C8BCAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bcc840; /* rgb */ color: rgb(188, 200, 64); /* oklch */ color: oklch(79.9% 0.156 114.3);
Tailwind
colors: {
custom: {
50: '#d3d87d',
500: '#bcc840',
950: '#000000',
},
}SCSS
$custom: #bcc840; $custom-light: #d3d87d; $custom-dark: #000000;
JSON
{
"hex": "#bcc840",
"rgb": {
"r": 188,
"g": 200,
"b": 64
},
"hsl": {
"h": 65.294,
"s": 55.285,
"l": 51.765
},
"oklch": {
"l": 0.79876,
"c": 0.15594,
"h": 114.3
},
"luminance": 0.5237
}Semantic roles & 50–950 ramp
primary
#BCC840
secondary
#3B3577
accent
#49DF56
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D