#CFED97#CFED97

#CFED97 is a very light, moderate yellow-green. Relative luminance 0.761; OKLCH L 90.5% C 0.115 H 124.3°. Best body text is #000000 at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#CFED97
RGBrgb(207, 237, 151)
HSLhsl(81, 70%, 76%)
HSVhsv(81, 36%, 93%)
CMYKcmyk(12.7%, 0%, 36.3%, 7.1%)
CIE-LABlab(89.89, -23.72, 38.49)
CIE-LCHlch(89.89, 45.21, 121.65°)
OKLaboklab(90.45% -0.0648 0.095)
OKLCHoklch(90.45% 0.115 124.3)
XYZxyz(61.6018, 76.0679, 40.7094)
Luminance0.7607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFED97 #B597ED
analogous
#EDE097 #CFED97 #A4ED97
triadic
#CFED97 #97CFED #ED97CF
tetradic
#CFED97 #97EDE0 #B597ED #ED97A4
square
#CFED97 #97EDE0 #B597ED #ED97A4
split-complementary
#CFED97 #97A4ED #E097ED
monochromatic
#9FDB2F #B7E463 #CFED97 #E7F6CB #F3FAE5

Accessibility & contrast

On white

1.30
#CFED97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.21
#CFED97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFED97
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFED97#FFFFFF#000000##000000
##CFED971.001.3016.2116.21
#FFFFFF1.301.0021.0021.00
#00000016.2121.001.001.00
##00000016.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F2E29B
Tritanopia (blue-blind)
#D5E5D7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cfed97;
/* rgb */ color: rgb(207, 237, 151);
/* oklch */ color: oklch(90.5% 0.115 124.3);
Tailwind
colors: {
  custom: {
    50: '#def3b6',
    500: '#cfed97',
    950: '#000000',
  },
}
SCSS
$custom: #cfed97;
$custom-light: #def3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfed97",
  "rgb": {
    "r": 207,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 80.93,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90451,
    "c": 0.11499,
    "h": 124.3
  },
  "luminance": 0.76068
}

Semantic roles & 50–950 ramp

primary
#CFED97
secondary
#845FC9
accent
#13D356
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CFED97

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

Preview Lab → · Contrast checker → · Palette generator →

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