#B7CC40#B7CC40
#B7CC40 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.4% C 0.162 H 117.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CC40 |
|---|---|
| RGB | rgb(183, 204, 64) |
| HSL | hsl(69, 58%, 53%) |
| HSV | hsv(69, 69%, 80%) |
| CMYK | cmyk(10.3%, 0%, 68.6%, 20%) |
| CIE-LAB | lab(78.24, -25.23, 64.04) |
| CIE-LCH | lch(78.24, 68.83, 111.50°) |
| OKLab | oklab(80.38% -0.075 0.1436) |
| OKLCH | oklch(80.38% 0.162 117.6) |
| XYZ | xyz(42.0476, 53.6236, 12.9848) |
| Luminance | 0.5362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.21
Pea
#A4BF20
ΔE00 4.01
Baby Puke Green
#B6C406
ΔE00 4.04
Bile
#B5C306
ΔE00 4.11
Gross Green
#A0BF16
ΔE00 4.51
Snot Green
#9DC100
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CC40 #5540CC
analogous
#CC9B40 #B7CC40 #71CC40
triadic
#B7CC40 #40B7CC #CC40B7
tetradic
#B7CC40 #40CC9B #5540CC #CC4071
square
#B7CC40 #40CC9B #5540CC #CC4071
split-complementary
#B7CC40 #4071CC #9B40CC
monochromatic
#66731F #91A32C #B7CC40 #C9D970 #DBE6A1
Accessibility & contrast
On white
1.79
#B7CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.72
#B7CC40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CC40
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CC40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CC40 | 1.00 | 1.79 | 11.72 | 11.72 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C2C1B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b7cc40; /* rgb */ color: rgb(183, 204, 64); /* oklch */ color: oklch(80.4% 0.162 117.6);
Tailwind
colors: {
custom: {
50: '#d0db7d',
500: '#b7cc40',
950: '#000000',
},
}SCSS
$custom: #b7cc40; $custom-light: #d0db7d; $custom-dark: #000000;
JSON
{
"hex": "#b7cc40",
"rgb": {
"r": 183,
"g": 204,
"b": 64
},
"hsl": {
"h": 69,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.80378,
"c": 0.162,
"h": 117.6
},
"luminance": 0.53623
}Semantic roles & 50–950 ramp
primary
#B7CC40
secondary
#3F347C
accent
#47E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D