#B4CD2C#B4CD2C
#B4CD2C is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.3% C 0.175 H 118.6°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CD2C |
|---|---|
| RGB | rgb(180, 205, 44) |
| HSL | hsl(69, 65%, 49%) |
| HSV | hsv(69, 79%, 80%) |
| CMYK | cmyk(12.2%, 0%, 78.5%, 19.6%) |
| CIE-LAB | lab(78.20, -27.90, 70.54) |
| CIE-LCH | lch(78.20, 75.86, 111.58°) |
| OKLab | oklab(80.25% -0.0839 0.1541) |
| OKLCH | oklch(80.25% 0.175 118.6) |
| XYZ | xyz(41.1093, 53.5481, 10.5526) |
| Luminance | 0.5355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.68
Baby Puke Green
#B6C406
ΔE00 3.42
Bile
#B5C306
ΔE00 3.53
Pea
#A4BF20
ΔE00 3.77
Gross Green
#A0BF16
ΔE00 4.09
Snot Green
#9DC100
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CD2C #452CCD
analogous
#CD962C #B4CD2C #64CD2C
triadic
#B4CD2C #2CB4CD #CD2CB4
tetradic
#B4CD2C #2CCD96 #452CCD #CD2C64
square
#B4CD2C #2CCD96 #452CCD #CD2C64
split-complementary
#B4CD2C #2C64CD #962CCD
monochromatic
#5C6816 #889B21 #B4CD2C #C8DC5B #D9E78D
Accessibility & contrast
On white
1.79
#B4CD2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.71
#B4CD2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CD2C
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CD2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CD2C | 1.00 | 1.79 | 11.71 | 11.71 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#BFC1B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b4cd2c; /* rgb */ color: rgb(180, 205, 44); /* oklch */ color: oklch(80.3% 0.175 118.6);
Tailwind
colors: {
custom: {
50: '#cedc73',
500: '#b4cd2c',
950: '#000000',
},
}SCSS
$custom: #b4cd2c; $custom-light: #cedc73; $custom-dark: #000000;
JSON
{
"hex": "#b4cd2c",
"rgb": {
"r": 180,
"g": 205,
"b": 44
},
"hsl": {
"h": 69.317,
"s": 64.659,
"l": 48.824
},
"oklch": {
"l": 0.80253,
"c": 0.17545,
"h": 118.6
},
"luminance": 0.53548
}Semantic roles & 50–950 ramp
primary
#B4CD2C
secondary
#362B72
accent
#40E85A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D