#CFEC89#CFEC89

#CFEC89 is a very light, vivid yellow-green. Relative luminance 0.751; OKLCH L 90.0% C 0.129 H 122.4°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#CFEC89
RGBrgb(207, 236, 137)
HSLhsl(78, 72%, 73%)
HSVhsv(78, 42%, 93%)
CMYKcmyk(12.3%, 0%, 41.9%, 7.5%)
CIE-LABlab(89.42, -24.91, 44.79)
CIE-LCHlch(89.42, 51.25, 119.08°)
OKLaboklab(90.01% -0.0689 0.1088)
OKLCHoklch(90.01% 0.129 122.4)
XYZxyz(60.2429, 75.0624, 34.9768)
Luminance0.7506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC89 #A689EC
analogous
#ECD889 #CFEC89 #9DEC89
triadic
#CFEC89 #89CFEC #EC89CF
tetradic
#CFEC89 #89ECD8 #A689EC #EC899D
square
#CFEC89 #89ECD8 #A689EC #EC899D
split-complementary
#CFEC89 #899DEC #D889EC
monochromatic
#A3D823 #BAE454 #CFEC89 #E4F4BE #F4FBE5

Accessibility & contrast

On white

1.31
#CFEC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.01
#CFEC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC89
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC89#FFFFFF#000000##000000
##CFEC891.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E181
Deuteranopia (green-blind)
#F3E18E
Tritanopia (blue-blind)
#D6E3D4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cfec89;
/* rgb */ color: rgb(207, 236, 137);
/* oklch */ color: oklch(90.0% 0.129 122.4);
Tailwind
colors: {
  custom: {
    50: '#dff2ad',
    500: '#cfec89',
    950: '#000000',
  },
}
SCSS
$custom: #cfec89;
$custom-light: #dff2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec89",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 137
  },
  "hsl": {
    "h": 77.576,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9001,
    "c": 0.12882,
    "h": 122.4
  },
  "luminance": 0.75062
}

Semantic roles & 50–950 ramp

primary
#CFEC89
secondary
#7553C6
accent
#11D44A
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CFEC89

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

Preview Lab → · Contrast checker → · Palette generator →

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