#CFEC9C#CFEC9C

#CFEC9C is a very light, moderate yellow-green. Relative luminance 0.757; OKLCH L 90.3% C 0.108 H 124.7°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#CFEC9C
RGBrgb(207, 236, 156)
HSLhsl(82, 68%, 77%)
HSVhsv(82, 34%, 93%)
CMYKcmyk(12.3%, 0%, 33.9%, 7.5%)
CIE-LABlab(89.70, -22.61, 35.74)
CIE-LCHlch(89.70, 42.29, 122.32°)
OKLaboklab(90.32% -0.0615 0.0887)
OKLCHoklch(90.32% 0.108 124.7)
XYZxyz(61.7278, 75.6563, 42.7972)
Luminance0.7566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC9C #B99CEC
analogous
#ECE19C #CFEC9C #A7EC9C
triadic
#CFEC9C #9CCFEC #EC9CCF
tetradic
#CFEC9C #9CECE1 #B99CEC #EC9CA7
square
#CFEC9C #9CECE1 #B99CEC #EC9CA7
split-complementary
#CFEC9C #9CA7EC #E19CEC
monochromatic
#9DD835 #B6E269 #CFEC9C #E8F6CF #F3FAE5

Accessibility & contrast

On white

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

On black

16.13
#CFEC9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC9C
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC9C#FFFFFF#000000##000000
##CFEC9C1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E296
Deuteranopia (green-blind)
#F0E1A0
Tritanopia (blue-blind)
#D4E5D8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec9c;
/* rgb */ color: rgb(207, 236, 156);
/* oklch */ color: oklch(90.3% 0.108 124.7);
Tailwind
colors: {
  custom: {
    50: '#def2ba',
    500: '#cfec9c',
    950: '#000000',
  },
}
SCSS
$custom: #cfec9c;
$custom-light: #def2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec9c",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 156
  },
  "hsl": {
    "h": 81.75,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.90323,
    "c": 0.10793,
    "h": 124.7
  },
  "luminance": 0.75657
}

Semantic roles & 50–950 ramp

primary
#CFEC9C
secondary
#8864C8
accent
#16D059
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFEC9C

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

Preview Lab → · Contrast checker → · Palette generator →

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