#BCC540#BCC540
#BCC540 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.153 H 113.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #BCC540 |
|---|---|
| RGB | rgb(188, 197, 64) |
| HSL | hsl(64, 53%, 51%) |
| HSV | hsv(64, 68%, 77%) |
| CMYK | cmyk(4.6%, 0%, 67.5%, 22.7%) |
| CIE-LAB | lab(76.68, -19.74, 62.58) |
| CIE-LCH | lch(76.68, 65.62, 107.51°) |
| OKLab | oklab(79.21% -0.06 0.1404) |
| OKLCH | oklch(79.21% 0.153 113.2) |
| XYZ | xyz(41.6319, 50.9949, 12.4994) |
| Luminance | 0.5099 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 3.26
Baby Puke Green
#B6C406
ΔE00 3.26
Snot
#ACBB0D
ΔE00 3.94
Green Yellow
#B5CE08
ΔE00 4.53
Pea
#A4BF20
ΔE00 4.55
Puke Yellow
#C2BE0E
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCC540 #4940C5
analogous
#C58B40 #BCC540 #79C540
triadic
#BCC540 #40BCC5 #C540BC
tetradic
#BCC540 #40C58B #4940C5 #C54079
square
#BCC540 #40C58B #4940C5 #C54079
split-complementary
#BCC540 #4079C5 #8B40C5
monochromatic
#656A20 #92992F #BCC540 #CCD36F #DDE29E
Accessibility & contrast
On white
1.88
#BCC540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.20
#BCC540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCC540
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCC540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCC540 | 1.00 | 1.88 | 11.20 | 11.20 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC2C
Deuteranopia (green-blind)
#D3BF4A
Tritanopia (blue-blind)
#C8B9AA
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bcc540; /* rgb */ color: rgb(188, 197, 64); /* oklch */ color: oklch(79.2% 0.153 113.2);
Tailwind
colors: {
custom: {
50: '#d3d67c',
500: '#bcc540',
950: '#000000',
},
}SCSS
$custom: #bcc540; $custom-light: #d3d67c; $custom-dark: #000000;
JSON
{
"hex": "#bcc540",
"rgb": {
"r": 188,
"g": 197,
"b": 64
},
"hsl": {
"h": 64.06,
"s": 53.414,
"l": 51.176
},
"oklch": {
"l": 0.79214,
"c": 0.15267,
"h": 113.2
},
"luminance": 0.50994
}Semantic roles & 50–950 ramp
primary
#BCC540
secondary
#393574
accent
#4BDD55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D