#B8CC3A#B8CC3A
#B8CC3A is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.165 H 117.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B8CC3A |
|---|---|
| RGB | rgb(184, 204, 58) |
| HSL | hsl(68, 59%, 51%) |
| HSV | hsv(68, 72%, 80%) |
| CMYK | cmyk(9.8%, 0%, 71.6%, 20%) |
| CIE-LAB | lab(78.28, -25.15, 66.27) |
| CIE-LCH | lch(78.28, 70.88, 110.78°) |
| OKLab | oklab(80.41% -0.0754 0.1473) |
| OKLCH | oklch(80.41% 0.165 117.1) |
| XYZ | xyz(42.1247, 53.6821, 12.1447) |
| Luminance | 0.5368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.65
Baby Puke Green
#B6C406
ΔE00 3.48
Bile
#B5C306
ΔE00 3.57
Pea
#A4BF20
ΔE00 3.99
Gross Green
#A0BF16
ΔE00 4.49
Snot
#ACBB0D
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8CC3A #4E3ACC
analogous
#CC973A #B8CC3A #6FCC3A
triadic
#B8CC3A #3AB8CC #CC3AB8
tetradic
#B8CC3A #3ACC97 #4E3ACC #CC3A6F
square
#B8CC3A #3ACC97 #4E3ACC #CC3A6F
split-complementary
#B8CC3A #3A6FCC #973ACC
monochromatic
#646F1D #8FA029 #B8CC3A #CAD96B #DBE59B
Accessibility & contrast
On white
1.79
#B8CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#B8CC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8CC3A
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8CC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8CC3A | 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)
#DAC11F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b8cc3a; /* rgb */ color: rgb(184, 204, 58); /* oklch */ color: oklch(80.4% 0.165 117.1);
Tailwind
colors: {
custom: {
50: '#d1db7a',
500: '#b8cc3a',
950: '#000000',
},
}SCSS
$custom: #b8cc3a; $custom-light: #d1db7a; $custom-dark: #000000;
JSON
{
"hex": "#b8cc3a",
"rgb": {
"r": 184,
"g": 204,
"b": 58
},
"hsl": {
"h": 68.219,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.80411,
"c": 0.16545,
"h": 117.1
},
"luminance": 0.53682
}Semantic roles & 50–950 ramp
primary
#B8CC3A
secondary
#3C3278
accent
#46E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D