#CFEC9A#CFEC9A

#CFEC9A is a very light, moderate yellow-green. Relative luminance 0.756; OKLCH L 90.3% C 0.110 H 124.4°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#CFEC9A
RGBrgb(207, 236, 154)
HSLhsl(81, 68%, 76%)
HSVhsv(81, 35%, 93%)
CMYKcmyk(12.3%, 0%, 34.7%, 7.5%)
CIE-LABlab(89.67, -22.86, 36.70)
CIE-LCHlch(89.67, 43.24, 121.92°)
OKLaboklab(90.29% -0.0623 0.0909)
OKLCHoklch(90.29% 0.11 124.4)
XYZxyz(61.5598, 75.5891, 41.9126)
Luminance0.7559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC9A #B79AEC
analogous
#ECE09A #CFEC9A #A6EC9A
triadic
#CFEC9A #9ACFEC #EC9ACF
tetradic
#CFEC9A #9AECE0 #B79AEC #EC9AA6
square
#CFEC9A #9AECE0 #B79AEC #EC9AA6
split-complementary
#CFEC9A #9AA6EC #E09AEC
monochromatic
#9ED933 #B7E266 #CFEC9A #E7F6CE #F3FAE5

Accessibility & contrast

On white

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

On black

16.12
#CFEC9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC9A
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC9A#FFFFFF#000000##000000
##CFEC9A1.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E294
Deuteranopia (green-blind)
#F1E19E
Tritanopia (blue-blind)
#D4E4D7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec9a;
/* rgb */ color: rgb(207, 236, 154);
/* oklch */ color: oklch(90.3% 0.110 124.4);
Tailwind
colors: {
  custom: {
    50: '#def2b8',
    500: '#cfec9a',
    950: '#000000',
  },
}
SCSS
$custom: #cfec9a;
$custom-light: #def2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec9a",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 154
  },
  "hsl": {
    "h": 81.22,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.90288,
    "c": 0.1102,
    "h": 124.4
  },
  "luminance": 0.75589
}

Semantic roles & 50–950 ramp

primary
#CFEC9A
secondary
#8662C8
accent
#15D057
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CFEC9A

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

Preview Lab → · Contrast checker → · Palette generator →

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