#CFEC6A#CFEC6A

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

Color values

HEX#CFEC6A
RGBrgb(207, 236, 106)
HSLhsl(73, 77%, 67%)
HSVhsv(73, 55%, 93%)
CMYKcmyk(12.3%, 0%, 55.1%, 7.5%)
CIE-LABlab(89.06, -27.96, 58.84)
CIE-LCHlch(89.06, 65.14, 115.41°)
OKLaboklab(89.61% -0.08 0.1374)
OKLCHoklch(89.61% 0.159 120.2)
XYZxyz(58.3297, 74.2971, 24.9008)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC6A #876AEC
analogous
#ECC86A #CFEC6A #8EEC6A
triadic
#CFEC6A #6ACFEC #EC6ACF
tetradic
#CFEC6A #6AECC8 #876AEC #EC6A8E
square
#CFEC6A #6AECC8 #876AEC #EC6A8E
split-complementary
#CFEC6A #6A8EEC #C86AEC
monochromatic
#9DC319 #BEE534 #CFEC6A #E0F3A0 #F2FAD7

Accessibility & contrast

On white

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

On black

15.86
#CFEC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC6A
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC6A#FFFFFF#000000##000000
##CFEC6A1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05D
Deuteranopia (green-blind)
#F6E072
Tritanopia (blue-blind)
#D9E1CF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfec6a;
/* rgb */ color: rgb(207, 236, 106);
/* oklch */ color: oklch(89.6% 0.159 120.2);
Tailwind
colors: {
  custom: {
    50: '#e0f298',
    500: '#cfec6a',
    950: '#000000',
  },
}
SCSS
$custom: #cfec6a;
$custom-light: #e0f298;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec6a",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 106
  },
  "hsl": {
    "h": 73.385,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89606,
    "c": 0.15905,
    "h": 120.2
  },
  "luminance": 0.74297
}

Semantic roles & 50–950 ramp

primary
#CFEC6A
secondary
#5839C1
accent
#0CDA3A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CFEC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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