#B7CD3C#B7CD3C
#B7CD3C is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.166 H 117.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CD3C |
|---|---|
| RGB | rgb(183, 205, 60) |
| HSL | hsl(69, 59%, 52%) |
| HSV | hsv(69, 71%, 80%) |
| CMYK | cmyk(10.7%, 0%, 70.7%, 19.6%) |
| CIE-LAB | lab(78.49, -25.93, 65.75) |
| CIE-LCH | lch(78.49, 70.68, 111.53°) |
| OKLab | oklab(80.57% -0.0774 0.1465) |
| OKLCH | oklch(80.57% 0.166 117.8) |
| XYZ | xyz(42.1763, 54.0566, 12.4862) |
| Luminance | 0.5406 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.78
Baby Puke Green
#B6C406
ΔE00 3.91
Bile
#B5C306
ΔE00 4.00
Pea
#A4BF20
ΔE00 4.06
Gross Green
#A0BF16
ΔE00 4.51
Snot Green
#9DC100
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CD3C #523CCD
analogous
#CD9A3C #B7CD3C #6FCD3C
triadic
#B7CD3C #3CB7CD #CD3CB7
tetradic
#B7CD3C #3CCD9A #523CCD #CD3C6F
square
#B7CD3C #3CCD9A #523CCD #CD3C6F
split-complementary
#B7CD3C #3C6FCD #9A3CCD
monochromatic
#65711D #90A22A #B7CD3C #C9D96D #DBE69D
Accessibility & contrast
On white
1.78
#B7CD3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#B7CD3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CD3C
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CD3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CD3C | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC222
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b7cd3c; /* rgb */ color: rgb(183, 205, 60); /* oklch */ color: oklch(80.6% 0.166 117.8);
Tailwind
colors: {
custom: {
50: '#d0dc7b',
500: '#b7cd3c',
950: '#000000',
},
}SCSS
$custom: #b7cd3c; $custom-light: #d0dc7b; $custom-dark: #000000;
JSON
{
"hex": "#b7cd3c",
"rgb": {
"r": 183,
"g": 205,
"b": 60
},
"hsl": {
"h": 69.103,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.80573,
"c": 0.16571,
"h": 117.8
},
"luminance": 0.54056
}Semantic roles & 50–950 ramp
primary
#B7CD3C
secondary
#3E337A
accent
#45E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D