#CFEC71#CFEC71

#CFEC71 is a very light, vivid yellow-green. Relative luminance 0.744; OKLCH L 89.7% C 0.153 H 120.6°. Best body text is #000000 at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#CFEC71
RGBrgb(207, 236, 113)
HSLhsl(74, 76%, 68%)
HSVhsv(74, 52%, 93%)
CMYKcmyk(12.3%, 0%, 52.1%, 7.5%)
CIE-LABlab(89.13, -27.35, 55.78)
CIE-LCHlch(89.13, 62.12, 116.12°)
OKLaboklab(89.69% -0.0777 0.1315)
OKLCHoklch(89.69% 0.153 120.6)
XYZxyz(58.7087, 74.4487, 26.8968)
Luminance0.7445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC71 #8E71EC
analogous
#ECCB71 #CFEC71 #91EC71
triadic
#CFEC71 #71CFEC #EC71CF
tetradic
#CFEC71 #71ECCB #8E71EC #EC7191
square
#CFEC71 #71ECCB #8E71EC #EC7191
split-complementary
#CFEC71 #7191EC #CB71EC
monochromatic
#9FC81B #BDE53B #CFEC71 #E1F3A7 #F3FADD

Accessibility & contrast

On white

1.32
#CFEC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.89
#CFEC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC71
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC71#FFFFFF#000000##000000
##CFEC711.001.3215.8915.89
#FFFFFF1.321.0021.0021.00
#00000015.8921.001.001.00
##00000015.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E065
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#D8E1D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfec71;
/* rgb */ color: rgb(207, 236, 113);
/* oklch */ color: oklch(89.7% 0.153 120.6);
Tailwind
colors: {
  custom: {
    50: '#e0f29d',
    500: '#cfec71',
    950: '#000000',
  },
}
SCSS
$custom: #cfec71;
$custom-light: #e0f29d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec71",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 74.146,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89686,
    "c": 0.15273,
    "h": 120.6
  },
  "luminance": 0.74449
}

Semantic roles & 50–950 ramp

primary
#CFEC71
secondary
#5D3DC4
accent
#0DD93D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CFEC71

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

Preview Lab → · Contrast checker → · Palette generator →

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