#CFEC5C#CFEC5C

#CFEC5C is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.5% C 0.171 H 119.6°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#CFEC5C
RGBrgb(207, 236, 92)
HSLhsl(72, 79%, 64%)
HSVhsv(72, 61%, 93%)
CMYKcmyk(12.3%, 0%, 61%, 7.5%)
CIE-LABlab(88.94, -29.04, 64.69)
CIE-LCHlch(88.94, 70.91, 114.18°)
OKLaboklab(89.46% -0.0844 0.1483)
OKLCHoklch(89.46% 0.171 119.6)
XYZxyz(57.6602, 74.0293, 21.3746)
Luminance0.7403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC5C #795CEC
analogous
#ECC15C #CFEC5C #87EC5C
triadic
#CFEC5C #5CCFEC #EC5CCF
tetradic
#CFEC5C #5CECC1 #795CEC #EC5C87
square
#CFEC5C #5CECC1 #795CEC #EC5C87
split-complementary
#CFEC5C #5C87EC #C15CEC
monochromatic
#97B815 #BFE625 #CFEC5C #DFF293 #EFF9CA

Accessibility & contrast

On white

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

On black

15.81
#CFEC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC5C
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC5C#FFFFFF#000000##000000
##CFEC5C1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF4B
Deuteranopia (green-blind)
#F7E066
Tritanopia (blue-blind)
#DAE0CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfec5c;
/* rgb */ color: rgb(207, 236, 92);
/* oklch */ color: oklch(89.5% 0.171 119.6);
Tailwind
colors: {
  custom: {
    50: '#e0f290',
    500: '#cfec5c',
    950: '#000000',
  },
}
SCSS
$custom: #cfec5c;
$custom-light: #e0f290;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec5c",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 72.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89463,
    "c": 0.17067,
    "h": 119.6
  },
  "luminance": 0.74029
}

Semantic roles & 50–950 ramp

primary
#CFEC5C
secondary
#4F35B8
accent
#0ADB34
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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