#CFDF97#CFDF97

#CFDF97 is a very light, moderate yellow-green. Relative luminance 0.683; OKLCH L 87.5% C 0.095 H 118.6°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#CFDF97
RGBrgb(207, 223, 151)
HSLhsl(73, 53%, 73%)
HSVhsv(73, 32%, 87%)
CMYKcmyk(7.2%, 0%, 32.3%, 12.5%)
CIE-LABlab(86.14, -16.90, 33.58)
CIE-LCHlch(86.14, 37.59, 116.71°)
OKLaboklab(87.46% -0.0455 0.0835)
OKLCHoklch(87.46% 0.095 118.6)
XYZxyz(57.7055, 68.2754, 39.4106)
Luminance0.6827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF97 #A797DF
analogous
#DFCB97 #CFDF97 #ABDF97
triadic
#CFDF97 #97CFDF #DF97CF
tetradic
#CFDF97 #97DFCB #A797DF #DF97AB
square
#CFDF97 #97DFCB #A797DF #DF97AB
split-complementary
#CFDF97 #97ABDF #CB97DF
monochromatic
#A3C03B #B9D168 #CFDF97 #E5EDC6 #F4F8E8

Accessibility & contrast

On white

1.43
#CFDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#CFDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF97
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF97#FFFFFF#000000##000000
##CFDF971.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#E6D89A
Tritanopia (blue-blind)
#D6D8CD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cfdf97;
/* rgb */ color: rgb(207, 223, 151);
/* oklch */ color: oklch(87.5% 0.095 118.6);
Tailwind
colors: {
  custom: {
    50: '#dee9b6',
    500: '#cfdf97',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf97;
$custom-light: #dee9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf97",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 73.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87458,
    "c": 0.09513,
    "h": 118.6
  },
  "luminance": 0.68275
}

Semantic roles & 50–950 ramp

primary
#CFDF97
secondary
#7663B7
accent
#25C048
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CFDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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