#B2D795#B2D795

#B2D795 is a very light, moderate yellow-green. Relative luminance 0.602; OKLCH L 83.6% C 0.097 H 132.0°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#B2D795
RGBrgb(178, 215, 149)
HSLhsl(94, 45%, 71%)
HSVhsv(94, 31%, 84%)
CMYKcmyk(17.2%, 0%, 30.7%, 15.7%)
CIE-LABlab(81.97, -23.86, 28.69)
CIE-LCHlch(81.97, 37.31, 129.75°)
OKLaboklab(83.61% -0.0648 0.072)
OKLCHoklch(83.61% 0.097 132)
XYZxyz(48.0844, 60.2350, 37.5212)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D795 #BA95D7
analogous
#D3D795 #B2D795 #95D799
triadic
#B2D795 #95B2D7 #D795B2
tetradic
#B2D795 #95D3D7 #BA95D7 #D79995
square
#B2D795 #95D3D7 #BA95D7 #D79995
split-complementary
#B2D795 #9995D7 #D795D3
monochromatic
#72AF42 #92C669 #B2D795 #D2E8C1 #EFF7E9

Accessibility & contrast

On white

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

On black

13.05
#B2D795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D795
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D795#FFFFFF#000000##000000
##B2D7951.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCE91
Deuteranopia (green-blind)
#D7CB98
Tritanopia (blue-blind)
#B3D2C6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #b2d795;
/* rgb */ color: rgb(178, 215, 149);
/* oklch */ color: oklch(83.6% 0.097 132.0);
Tailwind
colors: {
  custom: {
    50: '#cae3b4',
    500: '#b2d795',
    950: '#000000',
  },
}
SCSS
$custom: #b2d795;
$custom-light: #cae3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d795",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 93.636,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.83609,
    "c": 0.09684,
    "h": 132
  },
  "luminance": 0.60236
}

Semantic roles & 50–950 ramp

primary
#B2D795
secondary
#8D62AE
accent
#2DB87B
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #B2D795

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

Preview Lab → · Contrast checker → · Palette generator →

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