#CFEC97#CFEC97

#CFEC97 is a very light, moderate yellow-green. Relative luminance 0.755; OKLCH L 90.2% C 0.114 H 124.0°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#CFEC97
RGBrgb(207, 236, 151)
HSLhsl(80, 69%, 76%)
HSVhsv(80, 36%, 93%)
CMYKcmyk(12.3%, 0%, 36%, 7.5%)
CIE-LABlab(89.62, -23.24, 38.14)
CIE-LCHlch(89.62, 44.66, 121.36°)
OKLaboklab(90.24% -0.0635 0.0942)
OKLCHoklch(90.24% 0.114 124)
XYZxyz(61.3131, 75.4904, 40.6131)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC97 #B497EC
analogous
#ECDF97 #CFEC97 #A4EC97
triadic
#CFEC97 #97CFEC #EC97CF
tetradic
#CFEC97 #97ECDF #B497EC #EC97A4
square
#CFEC97 #97ECDF #B497EC #EC97A4
split-complementary
#CFEC97 #97A4EC #DF97EC
monochromatic
#9FD930 #B7E363 #CFEC97 #E7F5CB #F3FAE5

Accessibility & contrast

On white

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

On black

16.10
#CFEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC97
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC97#FFFFFF#000000##000000
##CFEC971.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F1E19B
Tritanopia (blue-blind)
#D5E4D7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec97;
/* rgb */ color: rgb(207, 236, 151);
/* oklch */ color: oklch(90.2% 0.114 124.0);
Tailwind
colors: {
  custom: {
    50: '#def2b6',
    500: '#cfec97',
    950: '#000000',
  },
}
SCSS
$custom: #cfec97;
$custom-light: #def2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec97",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 80.471,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90236,
    "c": 0.11356,
    "h": 124
  },
  "luminance": 0.75491
}

Semantic roles & 50–950 ramp

primary
#CFEC97
secondary
#8360C8
accent
#14D155
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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