#CFEC59#CFEC59

#CFEC59 is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.4% C 0.173 H 119.5°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#CFEC59
RGBrgb(207, 236, 89)
HSLhsl(72, 79%, 64%)
HSVhsv(72, 62%, 93%)
CMYKcmyk(12.3%, 0%, 62.3%, 7.5%)
CIE-LABlab(88.91, -29.25, 65.89)
CIE-LCHlch(88.91, 72.09, 113.94°)
OKLaboklab(89.44% -0.0853 0.1505)
OKLCHoklch(89.44% 0.173 119.5)
XYZxyz(57.5316, 73.9779, 20.6976)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC59 #7659EC
analogous
#ECBF59 #CFEC59 #85EC59
triadic
#CFEC59 #59CFEC #EC59CF
tetradic
#CFEC59 #59ECBF #7659EC #EC5985
square
#CFEC59 #59ECBF #7659EC #EC5985
split-complementary
#CFEC59 #5985EC #BF59EC
monochromatic
#96B615 #BFE622 #CFEC59 #DFF290 #EFF9C7

Accessibility & contrast

On white

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

On black

15.80
#CFEC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC59
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC59#FFFFFF#000000##000000
##CFEC591.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfec59;
/* rgb */ color: rgb(207, 236, 89);
/* oklch */ color: oklch(89.4% 0.173 119.5);
Tailwind
colors: {
  custom: {
    50: '#e1f28e',
    500: '#cfec59',
    950: '#000000',
  },
}
SCSS
$custom: #cfec59;
$custom-light: #e1f28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec59",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 71.837,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89436,
    "c": 0.17296,
    "h": 119.5
  },
  "luminance": 0.73978
}

Semantic roles & 50–950 ramp

primary
#CFEC59
secondary
#4D34B5
accent
#0ADC33
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEC59

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

Preview Lab → · Contrast checker → · Palette generator →

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