#CFEC6C#CFEC6C

#CFEC6C is a very light, vivid yellow-green. Relative luminance 0.743; OKLCH L 89.6% C 0.157 H 120.3°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#CFEC6C
RGBrgb(207, 236, 108)
HSLhsl(74, 77%, 67%)
HSVhsv(74, 54%, 93%)
CMYKcmyk(12.3%, 0%, 54.2%, 7.5%)
CIE-LABlab(89.08, -27.79, 57.97)
CIE-LCHlch(89.08, 64.29, 115.61°)
OKLaboklab(89.63% -0.0794 0.1358)
OKLCHoklch(89.63% 0.157 120.3)
XYZxyz(58.4349, 74.3392, 25.4549)
Luminance0.7434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC6C #896CEC
analogous
#ECC96C #CFEC6C #8FEC6C
triadic
#CFEC6C #6CCFEC #EC6CCF
tetradic
#CFEC6C #6CECC9 #896CEC #EC6C8F
square
#CFEC6C #6CECC9 #896CEC #EC6C8F
split-complementary
#CFEC6C #6C8FEC #C96CEC
monochromatic
#9EC419 #BDE536 #CFEC6C #E1F3A2 #F2FAD8

Accessibility & contrast

On white

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

On black

15.87
#CFEC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC6C
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC6C#FFFFFF#000000##000000
##CFEC6C1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfec6c;
/* rgb */ color: rgb(207, 236, 108);
/* oklch */ color: oklch(89.6% 0.157 120.3);
Tailwind
colors: {
  custom: {
    50: '#e0f29a',
    500: '#cfec6c',
    950: '#000000',
  },
}
SCSS
$custom: #cfec6c;
$custom-light: #e0f29a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec6c",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 108
  },
  "hsl": {
    "h": 73.594,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89628,
    "c": 0.15728,
    "h": 120.3
  },
  "luminance": 0.74339
}

Semantic roles & 50–950 ramp

primary
#CFEC6C
secondary
#593AC2
accent
#0CD93B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CFEC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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