#B2C73A#B2C73A

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

Color values

HEX#B2C73A
RGBrgb(178, 199, 58)
HSLhsl(69, 56%, 50%)
HSVhsv(69, 71%, 78%)
CMYKcmyk(10.6%, 0%, 70.9%, 22%)
CIE-LABlab(76.45, -25.20, 64.34)
CIE-LCHlch(76.45, 69.10, 111.39°)
OKLaboklab(78.83% -0.0752 0.1434)
OKLCHoklch(78.83% 0.162 117.7)
XYZxyz(39.5481, 50.6177, 11.6890)
Luminance0.5062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C73A #4F3AC7
analogous
#C7953A #B2C73A #6CC73A
triadic
#B2C73A #3AB2C7 #C73AB2
tetradic
#B2C73A #3AC795 #4F3AC7 #C73A6C
square
#B2C73A #3AC795 #4F3AC7 #C73A6C
split-complementary
#B2C73A #3A6CC7 #953AC7
monochromatic
#5E691E #88982B #B2C73A #C5D56A #D7E299

Accessibility & contrast

On white

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

On black

11.12
#B2C73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C73A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C73A#FFFFFF#000000##000000
##B2C73A1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC21
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#BDBCAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c73a;
/* rgb */ color: rgb(178, 199, 58);
/* oklch */ color: oklch(78.8% 0.162 117.7);
Tailwind
colors: {
  custom: {
    50: '#ccd779',
    500: '#b2c73a',
    950: '#000000',
  },
}
SCSS
$custom: #b2c73a;
$custom-light: #ccd779;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c73a",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 58
  },
  "hsl": {
    "h": 68.936,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78832,
    "c": 0.1619,
    "h": 117.7
  },
  "luminance": 0.50617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2C73A

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

Preview Lab → · Contrast checker → · Palette generator →

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