#B2D874#B2D874

#B2D874 is a very light, vivid yellow-green. Relative luminance 0.598; OKLCH L 83.3% C 0.134 H 126.2°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#B2D874
RGBrgb(178, 216, 116)
HSLhsl(83, 56%, 65%)
HSVhsv(83, 46%, 85%)
CMYKcmyk(17.6%, 0%, 46.3%, 15.3%)
CIE-LABlab(81.75, -28.58, 45.03)
CIE-LCHlch(81.75, 53.33, 122.40°)
OKLaboklab(83.27% -0.0794 0.1084)
OKLCHoklch(83.27% 0.134 126.2)
XYZxyz(46.0681, 59.8372, 25.6423)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D874 #9A74D8
analogous
#D8CC74 #B2D874 #80D874
triadic
#B2D874 #74B2D8 #D874B2
tetradic
#B2D874 #74D8CC #9A74D8 #D87480
square
#B2D874 #74D8CC #9A74D8 #D87480
split-complementary
#B2D874 #7480D8 #CC74D8
monochromatic
#77A42E #98CB44 #B2D874 #CCE5A4 #E7F3D4

Accessibility & contrast

On white

1.62
#B2D874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#B2D874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D874
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D874#FFFFFF#000000##000000
##B2D8741.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6C
Deuteranopia (green-blind)
#DCCB7A
Tritanopia (blue-blind)
#B7D0C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d874;
/* rgb */ color: rgb(178, 216, 116);
/* oklch */ color: oklch(83.3% 0.134 126.2);
Tailwind
colors: {
  custom: {
    50: '#cbe49e',
    500: '#b2d874',
    950: '#000000',
  },
}
SCSS
$custom: #b2d874;
$custom-light: #cbe49e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d874",
  "rgb": {
    "r": 178,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 82.8,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83274,
    "c": 0.13439,
    "h": 126.2
  },
  "luminance": 0.59838
}

Semantic roles & 50–950 ramp

primary
#B2D874
secondary
#6D49A7
accent
#22C45F
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #B2D874

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

Preview Lab → · Contrast checker → · Palette generator →

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