#BCCB42#BCCB42
#BCCB42 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.6% C 0.158 H 115.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BCCB42 |
|---|---|
| RGB | rgb(188, 203, 66) |
| HSL | hsl(67, 57%, 53%) |
| HSV | hsv(67, 67%, 80%) |
| CMYK | cmyk(7.4%, 0%, 67.5%, 20.4%) |
| CIE-LAB | lab(78.34, -22.58, 63.51) |
| CIE-LCH | lch(78.34, 67.40, 109.57°) |
| OKLab | oklab(80.55% -0.0678 0.1426) |
| OKLCH | oklch(80.55% 0.158 115.4) |
| XYZ | xyz(43.0794, 53.7973, 13.2677) |
| Luminance | 0.5380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.52
Baby Puke Green
#B6C406
ΔE00 3.63
Bile
#B5C306
ΔE00 3.71
Pea
#A4BF20
ΔE00 4.52
Snot
#ACBB0D
ΔE00 4.82
Gross Green
#A0BF16
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCCB42 #5142CB
analogous
#CB9542 #BCCB42 #78CB42
triadic
#BCCB42 #42BCCB #CB42BC
tetradic
#BCCB42 #42CB95 #5142CB #CB4278
square
#BCCB42 #42CB95 #5142CB #CB4278
split-complementary
#BCCB42 #4278CB #9542CB
monochromatic
#6A7320 #96A32D #BCCB42 #CDD872 #DEE5A2
Accessibility & contrast
On white
1.79
#BCCB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.76
#BCCB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCCB42
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCCB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCCB42 | 1.00 | 1.79 | 11.76 | 11.76 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#C8C0B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #bccb42; /* rgb */ color: rgb(188, 203, 66); /* oklch */ color: oklch(80.6% 0.158 115.4);
Tailwind
colors: {
custom: {
50: '#d3da7e',
500: '#bccb42',
950: '#000000',
},
}SCSS
$custom: #bccb42; $custom-light: #d3da7e; $custom-dark: #000000;
JSON
{
"hex": "#bccb42",
"rgb": {
"r": 188,
"g": 203,
"b": 66
},
"hsl": {
"h": 66.569,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.80555,
"c": 0.15791,
"h": 115.4
},
"luminance": 0.53797
}Semantic roles & 50–950 ramp
primary
#BCCB42
secondary
#3D357C
accent
#48E058
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D