#B2D045#B2D045

#B2D045 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.9% C 0.165 H 120.7°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#B2D045
RGBrgb(178, 208, 69)
HSLhsl(73, 60%, 54%)
HSVhsv(73, 67%, 82%)
CMYKcmyk(14.4%, 0%, 66.8%, 18.4%)
CIE-LABlab(79.05, -28.87, 62.84)
CIE-LCHlch(79.05, 69.16, 114.67°)
OKLaboklab(80.95% -0.0844 0.1419)
OKLCHoklch(80.95% 0.165 120.7)
XYZxyz(41.9908, 55.0065, 14.0342)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D045 #6345D0
analogous
#D0A945 #B2D045 #6CD045
triadic
#B2D045 #45B2D0 #D045B2
tetradic
#B2D045 #45D0A9 #6345D0 #D0456C
square
#B2D045 #45D0A9 #6345D0 #D0456C
split-complementary
#B2D045 #456CD0 #A945D0
monochromatic
#687B1F #90AC2C #B2D045 #C6DC76 #DAE9A7

Accessibility & contrast

On white

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

On black

12.00
#B2D045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D045
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D045#FFFFFF#000000##000000
##B2D0451.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC431
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#BCC5B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2d045;
/* rgb */ color: rgb(178, 208, 69);
/* oklch */ color: oklch(80.9% 0.165 120.7);
Tailwind
colors: {
  custom: {
    50: '#ccde80',
    500: '#b2d045',
    950: '#000000',
  },
}
SCSS
$custom: #b2d045;
$custom-light: #ccde80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d045",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 72.95,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80947,
    "c": 0.16512,
    "h": 120.7
  },
  "luminance": 0.55006
}

Semantic roles & 50–950 ramp

primary
#B2D045
secondary
#473683
accent
#45E367
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2D045

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

Preview Lab → · Contrast checker → · Palette generator →

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