#BCC940#BCC940
#BCC940 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.1% C 0.157 H 114.7°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BCC940 |
|---|---|
| RGB | rgb(188, 201, 64) |
| HSL | hsl(66, 56%, 52%) |
| HSV | hsv(66, 68%, 79%) |
| CMYK | cmyk(6.5%, 0%, 68.2%, 21.2%) |
| CIE-LAB | lab(77.78, -21.71, 63.70) |
| CIE-LCH | lch(77.78, 67.30, 108.83°) |
| OKLab | oklab(80.1% -0.0655 0.1427) |
| OKLCH | oklch(80.1% 0.157 114.7) |
| XYZ | xyz(42.5522, 52.8356, 12.8062) |
| Luminance | 0.5283 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.28
Bile
#B5C306
ΔE00 3.35
Green Yellow
#B5CE08
ΔE00 3.68
Snot
#ACBB0D
ΔE00 4.40
Pea
#A4BF20
ΔE00 4.42
Gross Green
#A0BF16
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCC940 #4D40C9
analogous
#C99140 #BCC940 #78C940
triadic
#BCC940 #40BCC9 #C940BC
tetradic
#BCC940 #40C991 #4D40C9 #C94078
square
#BCC940 #40C991 #4D40C9 #C94078
split-complementary
#BCC940 #4078C9 #9140C9
monochromatic
#686F1F #949F2D #BCC940 #CDD670 #DDE49F
Accessibility & contrast
On white
1.82
#BCC940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#BCC940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCC940
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCC940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCC940 | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C8BDAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bcc940; /* rgb */ color: rgb(188, 201, 64); /* oklch */ color: oklch(80.1% 0.157 114.7);
Tailwind
colors: {
custom: {
50: '#d3d97d',
500: '#bcc940',
950: '#000000',
},
}SCSS
$custom: #bcc940; $custom-light: #d3d97d; $custom-dark: #000000;
JSON
{
"hex": "#bcc940",
"rgb": {
"r": 188,
"g": 201,
"b": 64
},
"hsl": {
"h": 65.693,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.80097,
"c": 0.15704,
"h": 114.7
},
"luminance": 0.52835
}Semantic roles & 50–950 ramp
primary
#BCC940
secondary
#3B3578
accent
#49DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D