#B4C730#B4C730
#B4C730 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 78.9% C 0.167 H 116.8°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C730 |
|---|---|
| RGB | rgb(180, 199, 48) |
| HSL | hsl(68, 61%, 48%) |
| HSV | hsv(68, 76%, 78%) |
| CMYK | cmyk(9.5%, 0%, 75.9%, 22%) |
| CIE-LAB | lab(76.54, -24.85, 67.83) |
| CIE-LCH | lch(76.54, 72.24, 110.12°) |
| OKLab | oklab(78.92% -0.0752 0.149) |
| OKLCH | oklch(78.92% 0.167 116.8) |
| XYZ | xyz(39.7803, 50.7641, 10.4986) |
| Luminance | 0.5076 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.50
Bile
#B5C306
ΔE00 2.52
Green Yellow
#B5CE08
ΔE00 2.69
Pea
#A4BF20
ΔE00 2.95
Snot
#ACBB0D
ΔE00 3.40
Gross Green
#A0BF16
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C730 #4330C7
analogous
#C78E30 #B4C730 #68C730
triadic
#B4C730 #30B4C7 #C730B4
tetradic
#B4C730 #30C78E #4330C7 #C73068
square
#B4C730 #30C78E #4330C7 #C73068
split-complementary
#B4C730 #3068C7 #8E30C7
monochromatic
#5B6418 #879624 #B4C730 #C8D85C #D9E48E
Accessibility & contrast
On white
1.88
#B4C730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.15
#B4C730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C730
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C730 | 1.00 | 1.88 | 11.15 | 11.15 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC06
Deuteranopia (green-blind)
#D3BE3E
Tritanopia (blue-blind)
#BFBCAB
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b4c730; /* rgb */ color: rgb(180, 199, 48); /* oklch */ color: oklch(78.9% 0.167 116.8);
Tailwind
colors: {
custom: {
50: '#ced774',
500: '#b4c730',
950: '#000000',
},
}SCSS
$custom: #b4c730; $custom-light: #ced774; $custom-dark: #000000;
JSON
{
"hex": "#b4c730",
"rgb": {
"r": 180,
"g": 199,
"b": 48
},
"hsl": {
"h": 67.55,
"s": 61.134,
"l": 48.431
},
"oklch": {
"l": 0.78922,
"c": 0.16692,
"h": 116.8
},
"luminance": 0.50764
}Semantic roles & 50–950 ramp
primary
#B4C730
secondary
#352C6F
accent
#44E458
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D