#CFE56F#CFE56F

#CFE56F is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 88.1% C 0.146 H 118.3°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#CFE56F
RGBrgb(207, 229, 111)
HSLhsl(71, 69%, 67%)
HSVhsv(71, 52%, 90%)
CMYKcmyk(9.6%, 0%, 51.5%, 10.2%)
CIE-LABlab(87.22, -24.19, 54.44)
CIE-LCHlch(87.22, 59.57, 113.96°)
OKLaboklab(88.14% -0.069 0.1284)
OKLCHoklch(88.14% 0.146 118.3)
XYZxyz(56.6213, 70.4521, 25.6516)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE56F #856FE5
analogous
#E5C06F #CFE56F #94E56F
triadic
#CFE56F #6FCFE5 #E56FCF
tetradic
#CFE56F #6FE5C0 #856FE5 #E56F94
square
#CFE56F #6FE5C0 #856FE5 #E56F94
split-complementary
#CFE56F #6F94E5 #C06FE5
monochromatic
#9CB821 #BEDC3B #CFE56F #E0EEA3 #F2F8D7

Accessibility & contrast

On white

1.39
#CFE56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#CFE56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE56F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE56F#FFFFFF#000000##000000
##CFE56F1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA64
Deuteranopia (green-blind)
#F0DB76
Tritanopia (blue-blind)
#D9DACA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cfe56f;
/* rgb */ color: rgb(207, 229, 111);
/* oklch */ color: oklch(88.1% 0.146 118.3);
Tailwind
colors: {
  custom: {
    50: '#e0ed9b',
    500: '#cfe56f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe56f;
$custom-light: #e0ed9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe56f",
  "rgb": {
    "r": 207,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 71.186,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88142,
    "c": 0.14577,
    "h": 118.3
  },
  "luminance": 0.70452
}

Semantic roles & 50–950 ramp

primary
#CFE56F
secondary
#5640B8
accent
#14D137
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CFE56F

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

Preview Lab → · Contrast checker → · Palette generator →

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