#B7CC2B#B7CC2B
#B7CC2B is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.2% C 0.174 H 117.2°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CC2B |
|---|---|
| RGB | rgb(183, 204, 43) |
| HSL | hsl(68, 65%, 48%) |
| HSV | hsv(68, 79%, 80%) |
| CMYK | cmyk(10.3%, 0%, 78.9%, 20%) |
| CIE-LAB | lab(78.13, -26.22, 70.84) |
| CIE-LCH | lch(78.13, 75.54, 110.31°) |
| OKLab | oklab(80.25% -0.0795 0.1544) |
| OKLCH | oklch(80.25% 0.174 117.2) |
| XYZ | xyz(41.5584, 53.4279, 10.4084) |
| Luminance | 0.5343 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.57
Baby Puke Green
#B6C406
ΔE00 2.76
Bile
#B5C306
ΔE00 2.90
Pea
#A4BF20
ΔE00 3.91
Gross Green
#A0BF16
ΔE00 4.33
Snot
#ACBB0D
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CC2B #402BCC
analogous
#CC902B #B7CC2B #66CC2B
triadic
#B7CC2B #2BB7CC #CC2BB7
tetradic
#B7CC2B #2BCC90 #402BCC #CC2B66
square
#B7CC2B #2BCC90 #402BCC #CC2B66
split-complementary
#B7CC2B #2B66CC #902BCC
monochromatic
#5C6716 #8A9920 #B7CC2B #CBDC58 #DBE78B
Accessibility & contrast
On white
1.80
#B7CC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#B7CC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CC2B
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CC2B | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D8C23B
Tritanopia (blue-blind)
#C3C0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b7cc2b; /* rgb */ color: rgb(183, 204, 43); /* oklch */ color: oklch(80.2% 0.174 117.2);
Tailwind
colors: {
custom: {
50: '#d1db73',
500: '#b7cc2b',
950: '#000000',
},
}SCSS
$custom: #b7cc2b; $custom-light: #d1db73; $custom-dark: #000000;
JSON
{
"hex": "#b7cc2b",
"rgb": {
"r": 183,
"g": 204,
"b": 43
},
"hsl": {
"h": 67.826,
"s": 65.182,
"l": 48.431
},
"oklch": {
"l": 0.80249,
"c": 0.17371,
"h": 117.2
},
"luminance": 0.53427
}Semantic roles & 50–950 ramp
primary
#B7CC2B
secondary
#332A71
accent
#40E856
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D