#CFEC5E#CFEC5E

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

Color values

HEX#CFEC5E
RGBrgb(207, 236, 94)
HSLhsl(72, 79%, 65%)
HSVhsv(72, 60%, 93%)
CMYKcmyk(12.3%, 0%, 60.2%, 7.5%)
CIE-LABlab(88.95, -28.90, 63.88)
CIE-LCHlch(88.95, 70.11, 114.34°)
OKLaboklab(89.48% -0.0838 0.1469)
OKLCHoklch(89.48% 0.169 119.7)
XYZxyz(57.7488, 74.0647, 21.8412)
Luminance0.7406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC5E #7B5EEC
analogous
#ECC25E #CFEC5E #88EC5E
triadic
#CFEC5E #5ECFEC #EC5ECF
tetradic
#CFEC5E #5EECC2 #7B5EEC #EC5E88
square
#CFEC5E #5EECC2 #7B5EEC #EC5E88
split-complementary
#CFEC5E #5E88EC #C25EEC
monochromatic
#98BA16 #BFE627 #CFEC5E #DFF295 #F0F9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFEC5E#FFFFFF#000000##000000
##CFEC5E1.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)
#FAE04D
Deuteranopia (green-blind)
#F6E068
Tritanopia (blue-blind)
#DAE0CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfec5e;
/* rgb */ color: rgb(207, 236, 94);
/* oklch */ color: oklch(89.5% 0.169 119.7);
Tailwind
colors: {
  custom: {
    50: '#e0f291',
    500: '#cfec5e',
    950: '#000000',
  },
}
SCSS
$custom: #cfec5e;
$custom-light: #e0f291;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec5e",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 72.254,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89482,
    "c": 0.1691,
    "h": 119.7
  },
  "luminance": 0.74064
}

Semantic roles & 50–950 ramp

primary
#CFEC5E
secondary
#5035B9
accent
#0ADB35
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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