#B7CD40#B7CD40
#B7CD40 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.163 H 117.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CD40 |
|---|---|
| RGB | rgb(183, 205, 64) |
| HSL | hsl(69, 59%, 53%) |
| HSV | hsv(69, 69%, 80%) |
| CMYK | cmyk(10.7%, 0%, 68.8%, 19.6%) |
| CIE-LAB | lab(78.52, -25.71, 64.32) |
| CIE-LCH | lch(78.52, 69.27, 111.79°) |
| OKLab | oklab(80.6% -0.0764 0.1442) |
| OKLCH | oklch(80.6% 0.163 117.9) |
| XYZ | xyz(42.2861, 54.1005, 13.0643) |
| Luminance | 0.5410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.15
Pea
#A4BF20
ΔE00 4.14
Baby Puke Green
#B6C406
ΔE00 4.20
Bile
#B5C306
ΔE00 4.28
Gross Green
#A0BF16
ΔE00 4.61
Snot Green
#9DC100
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CD40 #5640CD
analogous
#CD9D40 #B7CD40 #70CD40
triadic
#B7CD40 #40B7CD #CD40B7
tetradic
#B7CD40 #40CD9D #5640CD #CD4070
square
#B7CD40 #40CD9D #5640CD #CD4070
split-complementary
#B7CD40 #4070CD #9D40CD
monochromatic
#67741E #92A52B #B7CD40 #C9DA71 #DCE6A1
Accessibility & contrast
On white
1.78
#B7CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#B7CD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CD40
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CD40 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC22A
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b7cd40; /* rgb */ color: rgb(183, 205, 64); /* oklch */ color: oklch(80.6% 0.163 117.9);
Tailwind
colors: {
custom: {
50: '#d0dc7d',
500: '#b7cd40',
950: '#000000',
},
}SCSS
$custom: #b7cd40; $custom-light: #d0dc7d; $custom-dark: #000000;
JSON
{
"hex": "#b7cd40",
"rgb": {
"r": 183,
"g": 205,
"b": 64
},
"hsl": {
"h": 69.362,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.80601,
"c": 0.16315,
"h": 117.9
},
"luminance": 0.541
}Semantic roles & 50–950 ramp
primary
#B7CD40
secondary
#40347D
accent
#46E25E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D