#B2D03B#B2D03B

#B2D03B is a light, vivid yellow-green. Relative luminance 0.549; OKLCH L 80.9% C 0.172 H 120.4°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#B2D03B
RGBrgb(178, 208, 59)
HSLhsl(72, 61%, 52%)
HSVhsv(72, 72%, 82%)
CMYKcmyk(14.4%, 0%, 71.6%, 18.4%)
CIE-LABlab(78.98, -29.45, 66.46)
CIE-LCHlch(78.98, 72.69, 113.90°)
OKLaboklab(80.87% -0.0869 0.148)
OKLCHoklch(80.87% 0.172 120.4)
XYZxyz(41.7061, 54.8926, 12.5350)
Luminance0.5489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D03B #593BD0
analogous
#D0A43B #B2D03B #67D03B
triadic
#B2D03B #3BB2D0 #D03BB2
tetradic
#B2D03B #3BD0A4 #593BD0 #D03B67
square
#B2D03B #3BD0A4 #593BD0 #D03B67
split-complementary
#B2D03B #3B67D0 #A43BD0
monochromatic
#63751C #8DA628 #B2D03B #C5DC6C #D9E89E

Accessibility & contrast

On white

1.75
#B2D03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#B2D03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D03B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D03B#FFFFFF#000000##000000
##B2D03B1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC41F
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#BCC5B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d03b;
/* rgb */ color: rgb(178, 208, 59);
/* oklch */ color: oklch(80.9% 0.172 120.4);
Tailwind
colors: {
  custom: {
    50: '#cdde7b',
    500: '#b2d03b',
    950: '#000000',
  },
}
SCSS
$custom: #b2d03b;
$custom-light: #cdde7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d03b",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 59
  },
  "hsl": {
    "h": 72.081,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80873,
    "c": 0.17161,
    "h": 120.4
  },
  "luminance": 0.54892
}

Semantic roles & 50–950 ramp

primary
#B2D03B
secondary
#41327D
accent
#43E464
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2D03B

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

Preview Lab → · Contrast checker → · Palette generator →

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