#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
RGBrgb(178, 199, 48)
HSLhsl(68, 61%, 48%)
HSVhsv(68, 76%, 78%)
CMYKcmyk(10.6%, 0%, 75.9%, 22%)
CIE-LABlab(76.39, -25.68, 67.65)
CIE-LCHlch(76.39, 72.36, 110.79°)
OKLaboklab(78.77% -0.0774 0.1487)
OKLCHoklch(78.77% 0.168 117.5)
XYZxyz(39.3180, 50.5257, 10.4769)
Luminance0.5052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##B2C7301.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.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

Preview Lab

Preview with #B2C730

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B2C730 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva