#BCC842#BCC842
#BCC842 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.9% C 0.155 H 114.3°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BCC842 |
|---|---|
| RGB | rgb(188, 200, 66) |
| HSL | hsl(65, 55%, 52%) |
| HSV | hsv(65, 67%, 78%) |
| CMYK | cmyk(6%, 0%, 67%, 21.6%) |
| CIE-LAB | lab(77.52, -21.11, 62.67) |
| CIE-LCH | lch(77.52, 66.13, 108.62°) |
| OKLab | oklab(79.89% -0.0637 0.1409) |
| OKLCH | oklch(79.89% 0.155 114.3) |
| XYZ | xyz(42.3778, 52.3940, 13.0339) |
| Luminance | 0.5239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.42
Bile
#B5C306
ΔE00 3.47
Green Yellow
#B5CE08
ΔE00 4.02
Snot
#ACBB0D
ΔE00 4.36
Pea
#A4BF20
ΔE00 4.46
Gross Green
#A0BF16
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCC842 #4E42C8
analogous
#C89142 #BCC842 #79C842
triadic
#BCC842 #42BCC8 #C842BC
tetradic
#BCC842 #42C891 #4E42C8 #C84279
square
#BCC842 #42C891 #4E42C8 #C84279
split-complementary
#BCC842 #4279C8 #9142C8
monochromatic
#686F20 #959F2E #BCC842 #CDD671 #DEE4A1
Accessibility & contrast
On white
1.83
#BCC842 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#BCC842 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCC842
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCC842 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCC842 | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C8BDAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bcc842; /* rgb */ color: rgb(188, 200, 66); /* oklch */ color: oklch(79.9% 0.155 114.3);
Tailwind
colors: {
custom: {
50: '#d3d87e',
500: '#bcc842',
950: '#000000',
},
}SCSS
$custom: #bcc842; $custom-light: #d3d87e; $custom-dark: #000000;
JSON
{
"hex": "#bcc842",
"rgb": {
"r": 188,
"g": 200,
"b": 66
},
"hsl": {
"h": 65.373,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.79891,
"c": 0.15458,
"h": 114.3
},
"luminance": 0.52393
}Semantic roles & 50–950 ramp
primary
#BCC842
secondary
#3C3679
accent
#4ADE57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D