#CFDC97#CFDC97

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

Color values

HEX#CFDC97
RGBrgb(207, 220, 151)
HSLhsl(71, 50%, 73%)
HSVhsv(71, 31%, 86%)
CMYKcmyk(5.9%, 0%, 31.4%, 13.7%)
CIE-LABlab(85.35, -15.41, 32.52)
CIE-LCHlch(85.35, 35.99, 115.35°)
OKLaboklab(86.82% -0.0413 0.081)
OKLCHoklch(86.82% 0.091 117)
XYZxyz(56.9111, 66.6865, 39.1458)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC97 #A497DC
analogous
#DCC697 #CFDC97 #ADDC97
triadic
#CFDC97 #97CFDC #DC97CF
tetradic
#CFDC97 #97DCC6 #A497DC #DC97AD
square
#CFDC97 #97DCC6 #A497DC #DC97AD
split-complementary
#CFDC97 #97ADDC #C697DC
monochromatic
#A3BA3F #BACD69 #CFDC97 #E4EBC5 #F4F7E8

Accessibility & contrast

On white

1.46
#CFDC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#CFDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC97
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC97#FFFFFF#000000##000000
##CFDC971.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfdc97;
/* rgb */ color: rgb(207, 220, 151);
/* oklch */ color: oklch(86.8% 0.091 117.0);
Tailwind
colors: {
  custom: {
    50: '#dee6b6',
    500: '#cfdc97',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc97;
$custom-light: #dee6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc97",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 71.304,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86822,
    "c": 0.09096,
    "h": 117
  },
  "luminance": 0.66686
}

Semantic roles & 50–950 ramp

primary
#CFDC97
secondary
#7364B4
accent
#29BD44
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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