#CFE17A#CFE17A

#CFE17A is a very light, vivid yellow-green. Relative luminance 0.685; OKLCH L 87.4% C 0.130 H 117.3°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#CFE17A
RGBrgb(207, 225, 122)
HSLhsl(70, 63%, 68%)
HSVhsv(70, 46%, 88%)
CMYKcmyk(8%, 0%, 45.8%, 11.8%)
CIE-LABlab(86.27, -21.21, 48.12)
CIE-LCHlch(86.27, 52.59, 113.79°)
OKLaboklab(87.42% -0.0596 0.1154)
OKLCHoklch(87.42% 0.13 117.3)
XYZxyz(56.1707, 68.5214, 28.6754)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE17A #8C7AE1
analogous
#E1BF7A #CFE17A #9CE17A
triadic
#CFE17A #7ACFE1 #E17ACF
tetradic
#CFE17A #7AE1BF #8C7AE1 #E17A9C
square
#CFE17A #7AE1BF #8C7AE1 #E17A9C
split-complementary
#CFE17A #7A9CE1 #BF7AE1
monochromatic
#9EB729 #BDD648 #CFE17A #E1ECAC #F3F8DE

Accessibility & contrast

On white

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

On black

14.70
#CFE17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE17A
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE17A#FFFFFF#000000##000000
##CFE17A1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD771
Deuteranopia (green-blind)
#EBD97F
Tritanopia (blue-blind)
#D9D7C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe17a;
/* rgb */ color: rgb(207, 225, 122);
/* oklch */ color: oklch(87.4% 0.130 117.3);
Tailwind
colors: {
  custom: {
    50: '#dfeaa2',
    500: '#cfe17a',
    950: '#000000',
  },
}
SCSS
$custom: #cfe17a;
$custom-light: #dfeaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe17a",
  "rgb": {
    "r": 207,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 70.485,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87421,
    "c": 0.1299,
    "h": 117.3
  },
  "luminance": 0.68521
}

Semantic roles & 50–950 ramp

primary
#CFE17A
secondary
#5B47B8
accent
#1BCB39
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFE17A

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

Preview Lab → · Contrast checker → · Palette generator →

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