#B2D042#B2D042

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

Color values

HEX#B2D042
RGBrgb(178, 208, 66)
HSLhsl(73, 60%, 54%)
HSVhsv(73, 68%, 82%)
CMYKcmyk(14.4%, 0%, 68.3%, 18.4%)
CIE-LABlab(79.02, -29.05, 63.97)
CIE-LCHlch(79.02, 70.26, 114.43°)
OKLaboklab(80.92% -0.0852 0.1439)
OKLCHoklch(80.92% 0.167 120.6)
XYZxyz(41.9000, 54.9702, 13.5562)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D042 #6042D0
analogous
#D0A742 #B2D042 #6BD042
triadic
#B2D042 #42B2D0 #D042B2
tetradic
#B2D042 #42D0A7 #6042D0 #D0426B
square
#B2D042 #42D0A7 #6042D0 #D0426B
split-complementary
#B2D042 #426BD0 #A742D0
monochromatic
#66791E #8FAA2A #B2D042 #C6DC73 #DAE8A4

Accessibility & contrast

On white

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

On black

11.99
#B2D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D042
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D042#FFFFFF#000000##000000
##B2D0421.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2d042;
/* rgb */ color: rgb(178, 208, 66);
/* oklch */ color: oklch(80.9% 0.167 120.6);
Tailwind
colors: {
  custom: {
    50: '#ccde7e',
    500: '#b2d042',
    950: '#000000',
  },
}
SCSS
$custom: #b2d042;
$custom-light: #ccde7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d042",
  "rgb": {
    "r": 178,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 72.676,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80923,
    "c": 0.16717,
    "h": 120.6
  },
  "luminance": 0.5497
}

Semantic roles & 50–950 ramp

primary
#B2D042
secondary
#453581
accent
#44E366
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2D042

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

Preview Lab → · Contrast checker → · Palette generator →

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