#CFEC6F#CFEC6F

#CFEC6F is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.7% C 0.155 H 120.5°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#CFEC6F
RGBrgb(207, 236, 111)
HSLhsl(74, 77%, 68%)
HSVhsv(74, 53%, 93%)
CMYKcmyk(12.3%, 0%, 53%, 7.5%)
CIE-LABlab(89.11, -27.52, 56.66)
CIE-LCHlch(89.11, 62.99, 115.91°)
OKLaboklab(89.66% -0.0784 0.1332)
OKLCHoklch(89.66% 0.155 120.5)
XYZxyz(58.5973, 74.4041, 26.3103)
Luminance0.7440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC6F #8C6FEC
analogous
#ECCA6F #CFEC6F #90EC6F
triadic
#CFEC6F #6FCFEC #EC6FCF
tetradic
#CFEC6F #6FECCA #8C6FEC #EC6F90
square
#CFEC6F #6FECCA #8C6FEC #EC6F90
split-complementary
#CFEC6F #6F90EC #CA6FEC
monochromatic
#9EC61A #BDE539 #CFEC6F #E1F3A5 #F3FADB

Accessibility & contrast

On white

1.32
#CFEC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#CFEC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC6F
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC6F#FFFFFF#000000##000000
##CFEC6F1.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E063
Deuteranopia (green-blind)
#F5E076
Tritanopia (blue-blind)
#D9E1D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfec6f;
/* rgb */ color: rgb(207, 236, 111);
/* oklch */ color: oklch(89.7% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#e0f29c',
    500: '#cfec6f',
    950: '#000000',
  },
}
SCSS
$custom: #cfec6f;
$custom-light: #e0f29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec6f",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 73.92,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89662,
    "c": 0.15457,
    "h": 120.5
  },
  "luminance": 0.74404
}

Semantic roles & 50–950 ramp

primary
#CFEC6F
secondary
#5B3BC4
accent
#0DD93C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CFEC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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