#CFDD96#CFDD96

#CFDD96 is a very light, moderate yellow-green. Relative luminance 0.672; OKLCH L 87.0% C 0.094 H 117.5°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#CFDD96
RGBrgb(207, 221, 150)
HSLhsl(72, 51%, 73%)
HSVhsv(72, 32%, 87%)
CMYKcmyk(6.3%, 0%, 32.1%, 13.3%)
CIE-LABlab(85.60, -16.03, 33.36)
CIE-LCHlch(85.60, 37.01, 115.67°)
OKLaboklab(87.02% -0.0431 0.083)
OKLCHoklch(87.02% 0.094 117.5)
XYZxyz(57.0935, 67.1806, 38.8077)
Luminance0.6718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDD96 #A496DD
analogous
#DDC796 #CFDD96 #ABDD96
triadic
#CFDD96 #96CFDD #DD96CF
tetradic
#CFDD96 #96DDC7 #A496DD #DD96AB
square
#CFDD96 #96DDC7 #A496DD #DD96AB
split-complementary
#CFDD96 #96ABDD #C796DD
monochromatic
#A3BC3D #BACE68 #CFDD96 #E4ECC4 #F4F8E8

Accessibility & contrast

On white

1.45
#CFDD96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#CFDD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDD96
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDD96#FFFFFF#000000##000000
##CFDD961.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D691
Deuteranopia (green-blind)
#E5D699
Tritanopia (blue-blind)
#D6D6CB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdd96;
/* rgb */ color: rgb(207, 221, 150);
/* oklch */ color: oklch(87.0% 0.094 117.5);
Tailwind
colors: {
  custom: {
    50: '#dee7b5',
    500: '#cfdd96',
    950: '#000000',
  },
}
SCSS
$custom: #cfdd96;
$custom-light: #dee7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdd96",
  "rgb": {
    "r": 207,
    "g": 221,
    "b": 150
  },
  "hsl": {
    "h": 71.831,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87015,
    "c": 0.09353,
    "h": 117.5
  },
  "luminance": 0.6718
}

Semantic roles & 50–950 ramp

primary
#CFDD96
secondary
#7362B5
accent
#27BE45
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDD96

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

Preview Lab → · Contrast checker → · Palette generator →

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