#CFEC56#CFEC56

#CFEC56 is a very light, vivid yellow-green. Relative luminance 0.739; OKLCH L 89.4% C 0.175 H 119.4°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#CFEC56
RGBrgb(207, 236, 86)
HSLhsl(72, 80%, 63%)
HSVhsv(72, 64%, 93%)
CMYKcmyk(12.3%, 0%, 63.6%, 7.5%)
CIE-LABlab(88.89, -29.46, 67.06)
CIE-LCHlch(88.89, 73.25, 113.71°)
OKLaboklab(89.41% -0.0861 0.1526)
OKLCHoklch(89.41% 0.175 119.4)
XYZxyz(57.4082, 73.9285, 20.0476)
Luminance0.7393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC56 #7356EC
analogous
#ECBE56 #CFEC56 #84EC56
triadic
#CFEC56 #56CFEC #EC56CF
tetradic
#CFEC56 #56ECBE #7356EC #EC5684
square
#CFEC56 #56ECBE #7356EC #EC5684
split-complementary
#CFEC56 #5684EC #BE56EC
monochromatic
#95B314 #BFE61F #CFEC56 #DFF28D #EEF8C4

Accessibility & contrast

On white

1.33
#CFEC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#CFEC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC56
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC56#FFFFFF#000000##000000
##CFEC561.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF42
Deuteranopia (green-blind)
#F7E061
Tritanopia (blue-blind)
#DAE0CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfec56;
/* rgb */ color: rgb(207, 236, 86);
/* oklch */ color: oklch(89.4% 0.175 119.4);
Tailwind
colors: {
  custom: {
    50: '#e1f28c',
    500: '#cfec56',
    950: '#000000',
  },
}
SCSS
$custom: #cfec56;
$custom-light: #e1f28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec56",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 71.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8941,
    "c": 0.1752,
    "h": 119.4
  },
  "luminance": 0.73928
}

Semantic roles & 50–950 ramp

primary
#CFEC56
secondary
#4C33B3
accent
#09DC32
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEC56

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

Preview Lab → · Contrast checker → · Palette generator →

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