#B8CC3E#B8CC3E
#B8CC3E is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.163 H 117.2°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CC3E |
|---|---|
| RGB | rgb(184, 204, 62) |
| HSL | hsl(68, 58%, 52%) |
| HSV | hsv(68, 70%, 80%) |
| CMYK | cmyk(9.8%, 0%, 69.6%, 20%) |
| CIE-LAB | lab(78.30, -24.94, 64.86) |
| CIE-LCH | lch(78.30, 69.49, 111.03°) |
| OKLab | oklab(80.44% -0.0745 0.145) |
| OKLCH | oklch(80.44% 0.163 117.2) |
| XYZ | xyz(42.2305, 53.7244, 12.7016) |
| Luminance | 0.5372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.00
Baby Puke Green
#B6C406
ΔE00 3.77
Bile
#B5C306
ΔE00 3.85
Pea
#A4BF20
ΔE00 4.05
Gross Green
#A0BF16
ΔE00 4.57
Snot Green
#9DC100
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CC3E #523ECC
analogous
#CC993E #B8CC3E #71CC3E
triadic
#B8CC3E #3EB8CC #CC3EB8
tetradic
#B8CC3E #3ECC99 #523ECC #CC3E71
square
#B8CC3E #3ECC99 #523ECC #CC3E71
split-complementary
#B8CC3E #3E71CC #993ECC
monochromatic
#66721E #91A22B #B8CC3E #CAD96E #DCE69F
Accessibility & contrast
On white
1.79
#B8CC3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#B8CC3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CC3E
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CC3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CC3E | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC126
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cc3e; /* rgb */ color: rgb(184, 204, 62); /* oklch */ color: oklch(80.4% 0.163 117.2);
Tailwind
colors: {
custom: {
50: '#d1db7c',
500: '#b8cc3e',
950: '#000000',
},
}SCSS
$custom: #b8cc3e; $custom-light: #d1db7c; $custom-dark: #000000;
JSON
{
"hex": "#b8cc3e",
"rgb": {
"r": 184,
"g": 204,
"b": 62
},
"hsl": {
"h": 68.451,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.80439,
"c": 0.16297,
"h": 117.2
},
"luminance": 0.53724
}Semantic roles & 50–950 ramp
primary
#B8CC3E
secondary
#3E347B
accent
#46E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D