#B8CD40#B8CD40
#B8CD40 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.7% C 0.163 H 117.6°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CD40 |
|---|---|
| RGB | rgb(184, 205, 64) |
| HSL | hsl(69, 59%, 53%) |
| HSV | hsv(69, 69%, 80%) |
| CMYK | cmyk(10.2%, 0%, 68.8%, 19.6%) |
| CIE-LAB | lab(78.59, -25.31, 64.42) |
| CIE-LCH | lch(78.59, 69.21, 111.45°) |
| OKLab | oklab(80.68% -0.0753 0.1443) |
| OKLCH | oklch(80.68% 0.163 117.6) |
| XYZ | xyz(42.5248, 54.2236, 13.0755) |
| Luminance | 0.5422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.11
Baby Puke Green
#B6C406
ΔE00 4.08
Bile
#B5C306
ΔE00 4.17
Pea
#A4BF20
ΔE00 4.22
Gross Green
#A0BF16
ΔE00 4.70
Snot Green
#9DC100
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CD40 #5540CD
analogous
#CD9B40 #B8CD40 #72CD40
triadic
#B8CD40 #40B8CD #CD40B8
tetradic
#B8CD40 #40CD9B #5540CD #CD4072
square
#B8CD40 #40CD9B #5540CD #CD4072
split-complementary
#B8CD40 #4072CD #9B40CD
monochromatic
#67741E #93A52B #B8CD40 #CADA71 #DCE6A1
Accessibility & contrast
On white
1.77
#B8CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#B8CD40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CD40
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CD40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CD40 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC22A
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#C3C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cd40; /* rgb */ color: rgb(184, 205, 64); /* oklch */ color: oklch(80.7% 0.163 117.6);
Tailwind
colors: {
custom: {
50: '#d1dc7d',
500: '#b8cd40',
950: '#000000',
},
}SCSS
$custom: #b8cd40; $custom-light: #d1dc7d; $custom-dark: #000000;
JSON
{
"hex": "#b8cd40",
"rgb": {
"r": 184,
"g": 205,
"b": 64
},
"hsl": {
"h": 68.936,
"s": 58.506,
"l": 52.745
},
"oklch": {
"l": 0.80677,
"c": 0.16281,
"h": 117.6
},
"luminance": 0.54223
}Semantic roles & 50–950 ramp
primary
#B8CD40
secondary
#3F347D
accent
#46E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D