#CFE17C#CFE17C

#CFE17C is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 87.4% C 0.128 H 117.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#CFE17C
RGBrgb(207, 225, 124)
HSLhsl(71, 63%, 68%)
HSVhsv(71, 45%, 88%)
CMYKcmyk(8%, 0%, 44.9%, 11.8%)
CIE-LABlab(86.29, -21.01, 47.19)
CIE-LCHlch(86.29, 51.66, 114.00°)
OKLaboklab(87.45% -0.0589 0.1135)
OKLCHoklch(87.45% 0.128 117.4)
XYZxyz(56.2959, 68.5715, 29.3348)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE17C #8E7CE1
analogous
#E1C07C #CFE17C #9CE17C
triadic
#CFE17C #7CCFE1 #E17CCF
tetradic
#CFE17C #7CE1C0 #8E7CE1 #E17C9C
square
#CFE17C #7CE1C0 #8E7CE1 #E17C9C
split-complementary
#CFE17C #7C9CE1 #C07CE1
monochromatic
#9FB82A #BDD64A #CFE17C #E1ECAE #F3F8E0

Accessibility & contrast

On white

1.43
#CFE17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#CFE17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE17C
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE17C#FFFFFF#000000##000000
##CFE17C1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD874
Deuteranopia (green-blind)
#EBD981
Tritanopia (blue-blind)
#D8D7C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe17c;
/* rgb */ color: rgb(207, 225, 124);
/* oklch */ color: oklch(87.4% 0.128 117.4);
Tailwind
colors: {
  custom: {
    50: '#dfeaa4',
    500: '#cfe17c',
    950: '#000000',
  },
}
SCSS
$custom: #cfe17c;
$custom-light: #dfeaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe17c",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 124
  },
  "hsl": {
    "h": 70.693,
    "s": 62.733,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87449,
    "c": 0.12782,
    "h": 117.4
  },
  "luminance": 0.68571
}

Semantic roles & 50–950 ramp

primary
#CFE17C
secondary
#5D49B8
accent
#1BCA3A
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE17C

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

Preview Lab → · Contrast checker → · Palette generator →

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