#B2D799#B2D799

#B2D799 is a very light, moderate yellow-green. Relative luminance 0.604; OKLCH L 83.7% C 0.092 H 133.2°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#B2D799
RGBrgb(178, 215, 153)
HSLhsl(96, 44%, 72%)
HSVhsv(96, 29%, 84%)
CMYKcmyk(17.2%, 0%, 28.8%, 15.7%)
CIE-LABlab(82.04, -23.27, 26.71)
CIE-LCHlch(82.04, 35.42, 131.06°)
OKLaboklab(83.69% -0.0631 0.0673)
OKLCHoklch(83.69% 0.092 133.2)
XYZxyz(48.4092, 60.3650, 39.2320)
Luminance0.6037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D799 #BE99D7
analogous
#D1D799 #B2D799 #99D79F
triadic
#B2D799 #99B2D7 #D799B2
tetradic
#B2D799 #99D1D7 #BE99D7 #D79F99
square
#B2D799 #99D1D7 #BE99D7 #D79F99
split-complementary
#B2D799 #9F99D7 #D799D1
monochromatic
#70B045 #91C66D #B2D799 #D3E8C5 #EEF6E9

Accessibility & contrast

On white

1.61
#B2D799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#B2D799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D799
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D799#FFFFFF#000000##000000
##B2D7991.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE95
Deuteranopia (green-blind)
#D6CB9C
Tritanopia (blue-blind)
#B3D2C7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b2d799;
/* rgb */ color: rgb(178, 215, 153);
/* oklch */ color: oklch(83.7% 0.092 133.2);
Tailwind
colors: {
  custom: {
    50: '#c9e3b7',
    500: '#b2d799',
    950: '#000000',
  },
}
SCSS
$custom: #b2d799;
$custom-light: #c9e3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d799",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 95.806,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.83688,
    "c": 0.09226,
    "h": 133.2
  },
  "luminance": 0.60366
}

Semantic roles & 50–950 ramp

primary
#B2D799
secondary
#9166AE
accent
#2FB780
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #B2D799

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

Preview Lab → · Contrast checker → · Palette generator →

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