#CFDD97#CFDD97

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

Color values

HEX#CFDD97
RGBrgb(207, 221, 151)
HSLhsl(72, 51%, 73%)
HSVhsv(72, 32%, 87%)
CMYKcmyk(6.3%, 0%, 31.7%, 13.3%)
CIE-LABlab(85.61, -15.90, 32.87)
CIE-LCHlch(85.61, 36.52, 115.82°)
OKLaboklab(87.03% -0.0427 0.0819)
OKLCHoklch(87.03% 0.092 117.6)
XYZxyz(57.1743, 67.2130, 39.2336)
Luminance0.6721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDD97 #A597DD
analogous
#DDC897 #CFDD97 #ACDD97
triadic
#CFDD97 #97CFDD #DD97CF
tetradic
#CFDD97 #97DDC8 #A597DD #DD97AC
square
#CFDD97 #97DDC8 #A597DD #DD97AC
split-complementary
#CFDD97 #97ACDD #C897DD
monochromatic
#A3BC3D #BACE69 #CFDD97 #E4ECC5 #F4F7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFDD97#FFFFFF#000000##000000
##CFDD971.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)
#E6D692
Deuteranopia (green-blind)
#E5D69A
Tritanopia (blue-blind)
#D6D6CB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdd97;
/* rgb */ color: rgb(207, 221, 151);
/* oklch */ color: oklch(87.0% 0.092 117.6);
Tailwind
colors: {
  custom: {
    50: '#dee7b6',
    500: '#cfdd97',
    950: '#000000',
  },
}
SCSS
$custom: #cfdd97;
$custom-light: #dee7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdd97",
  "rgb": {
    "r": 207,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 72,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.87034,
    "c": 0.09234,
    "h": 117.6
  },
  "luminance": 0.67213
}

Semantic roles & 50–950 ramp

primary
#CFDD97
secondary
#7463B5
accent
#27BE46
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDD97

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

Preview Lab → · Contrast checker → · Palette generator →

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