#CFEC5F#CFEC5F

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

Color values

HEX#CFEC5F
RGBrgb(207, 236, 95)
HSLhsl(72, 79%, 65%)
HSVhsv(72, 60%, 93%)
CMYKcmyk(12.3%, 0%, 59.7%, 7.5%)
CIE-LABlab(88.96, -28.83, 63.47)
CIE-LCHlch(88.96, 69.71, 114.43°)
OKLaboklab(89.49% -0.0835 0.1461)
OKLCHoklch(89.49% 0.168 119.7)
XYZxyz(57.7939, 74.0828, 22.0790)
Luminance0.7408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC5F #7C5FEC
analogous
#ECC25F #CFEC5F #89EC5F
triadic
#CFEC5F #5FCFEC #EC5FCF
tetradic
#CFEC5F #5FECC2 #7C5FEC #EC5F89
square
#CFEC5F #5FECC2 #7C5FEC #EC5F89
split-complementary
#CFEC5F #5F89EC #C25FEC
monochromatic
#99BA16 #BFE628 #CFEC5F #DFF296 #F0F9CC

Accessibility & contrast

On white

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

On black

15.82
#CFEC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC5F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC5F#FFFFFF#000000##000000
##CFEC5F1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfec5f;
/* rgb */ color: rgb(207, 236, 95);
/* oklch */ color: oklch(89.5% 0.168 119.7);
Tailwind
colors: {
  custom: {
    50: '#e0f292',
    500: '#cfec5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfec5f;
$custom-light: #e0f292;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec5f",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 72.34,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89492,
    "c": 0.1683,
    "h": 119.7
  },
  "luminance": 0.74083
}

Semantic roles & 50–950 ramp

primary
#CFEC5F
secondary
#5136BA
accent
#0ADB35
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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