#B2C73B#B2C73B

#B2C73B is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.8% C 0.161 H 117.7°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#B2C73B
RGBrgb(178, 199, 59)
HSLhsl(69, 56%, 51%)
HSVhsv(69, 70%, 78%)
CMYKcmyk(10.6%, 0%, 70.4%, 22%)
CIE-LABlab(76.45, -25.15, 63.98)
CIE-LCHlch(76.45, 68.75, 111.46°)
OKLaboklab(78.84% -0.075 0.1428)
OKLCHoklch(78.84% 0.161 117.7)
XYZxyz(39.5738, 50.6280, 11.8243)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C73B #503BC7
analogous
#C7963B #B2C73B #6CC73B
triadic
#B2C73B #3BB2C7 #C73BB2
tetradic
#B2C73B #3BC796 #503BC7 #C73B6C
square
#B2C73B #3BC796 #503BC7 #C73B6C
split-complementary
#B2C73B #3B6CC7 #963BC7
monochromatic
#5E691E #89992C #B2C73B #C5D56B #D7E29A

Accessibility & contrast

On white

1.89
#B2C73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#B2C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C73B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C73B#FFFFFF#000000##000000
##B2C73B1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC23
Deuteranopia (green-blind)
#D2BD46
Tritanopia (blue-blind)
#BDBCAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c73b;
/* rgb */ color: rgb(178, 199, 59);
/* oklch */ color: oklch(78.8% 0.161 117.7);
Tailwind
colors: {
  custom: {
    50: '#ccd77a',
    500: '#b2c73b',
    950: '#000000',
  },
}
SCSS
$custom: #b2c73b;
$custom-light: #ccd77a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c73b",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 69,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78839,
    "c": 0.16128,
    "h": 117.7
  },
  "luminance": 0.50628
}

Semantic roles & 50–950 ramp

primary
#B2C73B
secondary
#3C3373
accent
#49DF5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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