#CFDE97#CFDE97

#CFDE97 is a very light, moderate yellow-green. Relative luminance 0.677; OKLCH L 87.2% C 0.094 H 118.1°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#CFDE97
RGBrgb(207, 222, 151)
HSLhsl(73, 52%, 73%)
HSVhsv(73, 32%, 87%)
CMYKcmyk(6.8%, 0%, 32%, 12.9%)
CIE-LABlab(85.88, -16.40, 33.23)
CIE-LCHlch(85.88, 37.05, 116.27°)
OKLaboklab(87.25% -0.0441 0.0827)
OKLCHoklch(87.25% 0.094 118.1)
XYZxyz(57.4392, 67.7426, 39.3218)
Luminance0.6774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDE97 #A697DE
analogous
#DEC997 #CFDE97 #ABDE97
triadic
#CFDE97 #97CFDE #DE97CF
tetradic
#CFDE97 #97DEC9 #A697DE #DE97AB
square
#CFDE97 #97DEC9 #A697DE #DE97AB
split-complementary
#CFDE97 #97ABDE #C997DE
monochromatic
#A3BE3C #BACF69 #CFDE97 #E4EDC5 #F4F8E8

Accessibility & contrast

On white

1.44
#CFDE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#CFDE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDE97
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDE97#FFFFFF#000000##000000
##CFDE971.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D792
Deuteranopia (green-blind)
#E5D79A
Tritanopia (blue-blind)
#D6D7CC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfde97;
/* rgb */ color: rgb(207, 222, 151);
/* oklch */ color: oklch(87.2% 0.094 118.1);
Tailwind
colors: {
  custom: {
    50: '#dee8b6',
    500: '#cfde97',
    950: '#000000',
  },
}
SCSS
$custom: #cfde97;
$custom-light: #dee8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfde97",
  "rgb": {
    "r": 207,
    "g": 222,
    "b": 151
  },
  "hsl": {
    "h": 72.676,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87246,
    "c": 0.09373,
    "h": 118.1
  },
  "luminance": 0.67742
}

Semantic roles & 50–950 ramp

primary
#CFDE97
secondary
#7563B6
accent
#26BF47
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDE97

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

Preview Lab → · Contrast checker → · Palette generator →

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