#B2CD98#B2CD98

#B2CD98 is a light, moderate yellow-green. Relative luminance 0.554; OKLCH L 81.5% C 0.078 H 129.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#B2CD98
RGBrgb(178, 205, 152)
HSLhsl(91, 35%, 70%)
HSVhsv(91, 26%, 80%)
CMYKcmyk(13.2%, 0%, 25.9%, 19.6%)
CIE-LABlab(79.27, -18.48, 23.47)
CIE-LCHlch(79.27, 29.87, 128.21°)
OKLaboklab(81.47% -0.0498 0.0595)
OKLCHoklch(81.47% 0.078 129.9)
XYZxyz(45.8580, 55.3942, 37.9758)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CD98 #B398CD
analogous
#CDCD98 #B2CD98 #98CD98
triadic
#B2CD98 #98B2CD #CD98B2
tetradic
#B2CD98 #98CDCD #B398CD #CD9898
square
#B2CD98 #98CDCD #B398CD #CD9898
split-complementary
#B2CD98 #9898CD #CD98CD
monochromatic
#759E4D #93B96F #B2CD98 #D1E1C1 #F0F5EA

Accessibility & contrast

On white

1.74
#B2CD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#B2CD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CD98
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CD98#FFFFFF#000000##000000
##B2CD981.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C695
Deuteranopia (green-blind)
#CEC49A
Tritanopia (blue-blind)
#B4C8BF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b2cd98;
/* rgb */ color: rgb(178, 205, 152);
/* oklch */ color: oklch(81.5% 0.078 129.9);
Tailwind
colors: {
  custom: {
    50: '#c9dcb6',
    500: '#b2cd98',
    950: '#000000',
  },
}
SCSS
$custom: #b2cd98;
$custom-light: #c9dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cd98",
  "rgb": {
    "r": 178,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 90.566,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.81469,
    "c": 0.07753,
    "h": 129.9
  },
  "luminance": 0.55395
}

Semantic roles & 50–950 ramp

primary
#B2CD98
secondary
#8567A2
accent
#38AD74
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #B2CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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