#B2C730#B2C730
#B2C730 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.8% C 0.168 H 117.5°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B2C730 |
|---|---|
| RGB | rgb(178, 199, 48) |
| HSL | hsl(68, 61%, 48%) |
| HSV | hsv(68, 76%, 78%) |
| CMYK | cmyk(10.6%, 0%, 75.9%, 22%) |
| CIE-LAB | lab(76.39, -25.68, 67.65) |
| CIE-LCH | lch(76.39, 72.36, 110.79°) |
| OKLab | oklab(78.77% -0.0774 0.1487) |
| OKLCH | oklch(78.77% 0.168 117.5) |
| XYZ | xyz(39.3180, 50.5257, 10.4769) |
| Luminance | 0.5052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.67
Green Yellow
#B5CE08
ΔE00 2.73
Baby Puke Green
#B6C406
ΔE00 2.81
Bile
#B5C306
ΔE00 2.81
Gross Green
#A0BF16
ΔE00 3.23
Snot
#ACBB0D
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2C730 #4530C7
analogous
#C79030 #B2C730 #67C730
triadic
#B2C730 #30B2C7 #C730B2
tetradic
#B2C730 #30C790 #4530C7 #C73067
square
#B2C730 #30C790 #4530C7 #C73067
split-complementary
#B2C730 #3067C7 #9030C7
monochromatic
#5A6418 #869624 #B2C730 #C7D85C #D8E48E
Accessibility & contrast
On white
1.89
#B2C730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.11
#B2C730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2C730
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2C730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2C730 | 1.00 | 1.89 | 11.11 | 11.11 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC06
Deuteranopia (green-blind)
#D3BD3E
Tritanopia (blue-blind)
#BDBCAB
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b2c730; /* rgb */ color: rgb(178, 199, 48); /* oklch */ color: oklch(78.8% 0.168 117.5);
Tailwind
colors: {
custom: {
50: '#cdd774',
500: '#b2c730',
950: '#000000',
},
}SCSS
$custom: #b2c730; $custom-light: #cdd774; $custom-dark: #000000;
JSON
{
"hex": "#b2c730",
"rgb": {
"r": 178,
"g": 199,
"b": 48
},
"hsl": {
"h": 68.344,
"s": 61.134,
"l": 48.431
},
"oklch": {
"l": 0.78769,
"c": 0.16762,
"h": 117.5
},
"luminance": 0.50525
}Semantic roles & 50–950 ramp
primary
#B2C730
secondary
#362C6F
accent
#44E45A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D