#CFEC4F#CFEC4F

#CFEC4F is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 89.4% C 0.180 H 119.2°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#CFEC4F
RGBrgb(207, 236, 79)
HSLhsl(71, 81%, 62%)
HSVhsv(71, 67%, 93%)
CMYKcmyk(12.3%, 0%, 66.5%, 7.5%)
CIE-LABlab(88.84, -29.90, 69.71)
CIE-LCHlch(88.84, 75.85, 113.21°)
OKLaboklab(89.35% -0.088 0.1572)
OKLCHoklch(89.35% 0.18 119.2)
XYZxyz(57.1399, 73.8212, 18.6344)
Luminance0.7382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC4F #6C4FEC
analogous
#ECBB4F #CFEC4F #81EC4F
triadic
#CFEC4F #4FCFEC #EC4FCF
tetradic
#CFEC4F #4FECBB #6C4FEC #EC4F81
square
#CFEC4F #4FECBB #6C4FEC #EC4F81
split-complementary
#CFEC4F #4F81EC #BB4FEC
monochromatic
#91AE13 #BFE519 #CFEC4F #DEF286 #EDF8BD

Accessibility & contrast

On white

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

On black

15.76
#CFEC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC4F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC4F#FFFFFF#000000##000000
##CFEC4F1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF38
Deuteranopia (green-blind)
#F7E05B
Tritanopia (blue-blind)
#DBE0CC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfec4f;
/* rgb */ color: rgb(207, 236, 79);
/* oklch */ color: oklch(89.4% 0.180 119.2);
Tailwind
colors: {
  custom: {
    50: '#e1f288',
    500: '#cfec4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfec4f;
$custom-light: #e1f288;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec4f",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 71.083,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89353,
    "c": 0.18013,
    "h": 119.2
  },
  "luminance": 0.73821
}

Semantic roles & 50–950 ramp

primary
#CFEC4F
secondary
#4831AE
accent
#09DD30
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CFEC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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