#CFDC96#CFDC96

#CFDC96 is a very light, moderate yellow-green. Relative luminance 0.667; OKLCH L 86.8% C 0.092 H 116.9°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#CFDC96
RGBrgb(207, 220, 150)
HSLhsl(71, 50%, 73%)
HSVhsv(71, 32%, 86%)
CMYKcmyk(5.9%, 0%, 31.8%, 13.7%)
CIE-LABlab(85.33, -15.54, 33.01)
CIE-LCHlch(85.33, 36.48, 115.20°)
OKLaboklab(86.8% -0.0417 0.0822)
OKLCHoklch(86.8% 0.092 116.9)
XYZxyz(56.8302, 66.6542, 38.7199)
Luminance0.6665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC96 #A396DC
analogous
#DCC696 #CFDC96 #ACDC96
triadic
#CFDC96 #96CFDC #DC96CF
tetradic
#CFDC96 #96DCC6 #A396DC #DC96AC
square
#CFDC96 #96DCC6 #A396DC #DC96AC
split-complementary
#CFDC96 #96ACDC #C696DC
monochromatic
#A3BA3E #BACD68 #CFDC96 #E4EBC4 #F5F7E8

Accessibility & contrast

On white

1.47
#CFDC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#CFDC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC96
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC96#FFFFFF#000000##000000
##CFDC961.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D591
Deuteranopia (green-blind)
#E4D699
Tritanopia (blue-blind)
#D6D5CA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdc96;
/* rgb */ color: rgb(207, 220, 150);
/* oklch */ color: oklch(86.8% 0.092 116.9);
Tailwind
colors: {
  custom: {
    50: '#dee6b5',
    500: '#cfdc96',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc96;
$custom-light: #dee6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc96",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 150
  },
  "hsl": {
    "h": 71.143,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86803,
    "c": 0.09215,
    "h": 116.9
  },
  "luminance": 0.66654
}

Semantic roles & 50–950 ramp

primary
#CFDC96
secondary
#7263B4
accent
#28BD44
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDC96

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

Preview Lab → · Contrast checker → · Palette generator →

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