#BCCF31#BCCF31
#BCCF31 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.3% C 0.172 H 116.5°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BCCF31 |
|---|---|
| RGB | rgb(188, 207, 49) |
| HSL | hsl(67, 62%, 50%) |
| HSV | hsv(67, 76%, 81%) |
| CMYK | cmyk(9.2%, 0%, 76.3%, 18.8%) |
| CIE-LAB | lab(79.35, -25.36, 70.33) |
| CIE-LCH | lch(79.35, 74.77, 109.83°) |
| OKLab | oklab(81.33% -0.077 0.1542) |
| OKLCH | oklch(81.33% 0.172 116.5) |
| XYZ | xyz(43.6074, 55.5394, 11.3281) |
| Luminance | 0.5554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.88
Baby Puke Green
#B6C406
ΔE00 3.23
Bile
#B5C306
ΔE00 3.41
Pea
#A4BF20
ΔE00 4.81
Yellowish Green
#B0DD16
ΔE00 5.04
Snot
#ACBB0D
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCCF31 #4431CF
analogous
#CF9331 #BCCF31 #6DCF31
triadic
#BCCF31 #31BCCF #CF31BC
tetradic
#BCCF31 #31CF93 #4431CF #CF316D
square
#BCCF31 #31CF93 #4431CF #CF316D
split-complementary
#BCCF31 #316DCF #9331CF
monochromatic
#626C19 #8F9E25 #BCCF31 #CCDB63 #DCE694
Accessibility & contrast
On white
1.73
#BCCF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.11
#BCCF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCCF31
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCCF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCCF31 | 1.00 | 1.73 | 12.11 | 12.11 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC401
Deuteranopia (green-blind)
#DCC640
Tritanopia (blue-blind)
#C8C3B2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #bccf31; /* rgb */ color: rgb(188, 207, 49); /* oklch */ color: oklch(81.3% 0.172 116.5);
Tailwind
colors: {
custom: {
50: '#d4dd76',
500: '#bccf31',
950: '#000000',
},
}SCSS
$custom: #bccf31; $custom-light: #d4dd76; $custom-dark: #000000;
JSON
{
"hex": "#bccf31",
"rgb": {
"r": 188,
"g": 207,
"b": 49
},
"hsl": {
"h": 67.215,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.81332,
"c": 0.17235,
"h": 116.5
},
"luminance": 0.55539
}Semantic roles & 50–950 ramp
primary
#BCCF31
secondary
#372E76
accent
#43E556
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#151509
muted
#84847D