#CFEC74#CFEC74

#CFEC74 is a very light, vivid yellow-green. Relative luminance 0.745; OKLCH L 89.7% C 0.150 H 120.7°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#CFEC74
RGBrgb(207, 236, 116)
HSLhsl(75, 76%, 69%)
HSVhsv(75, 51%, 93%)
CMYKcmyk(12.3%, 0%, 50.8%, 7.5%)
CIE-LABlab(89.17, -27.07, 54.44)
CIE-LCHlch(89.17, 60.80, 116.44°)
OKLaboklab(89.72% -0.0766 0.1288)
OKLCHoklch(89.72% 0.15 120.7)
XYZxyz(58.8804, 74.5174, 27.8010)
Luminance0.7452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEC74 #9174EC
analogous
#ECCD74 #CFEC74 #93EC74
triadic
#CFEC74 #74CFEC #EC74CF
tetradic
#CFEC74 #74ECCD #9174EC #EC7493
square
#CFEC74 #74ECCD #9174EC #EC7493
split-complementary
#CFEC74 #7493EC #CD74EC
monochromatic
#A0CA1C #BCE53E #CFEC74 #E2F3AA #F4FBE0

Accessibility & contrast

On white

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

On black

15.90
#CFEC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEC74
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEC74#FFFFFF#000000##000000
##CFEC741.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E069
Deuteranopia (green-blind)
#F5E07B
Tritanopia (blue-blind)
#D8E2D1
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #cfec74;
/* rgb */ color: rgb(207, 236, 116);
/* oklch */ color: oklch(89.7% 0.150 120.7);
Tailwind
colors: {
  custom: {
    50: '#e0f29f',
    500: '#cfec74',
    950: '#000000',
  },
}
SCSS
$custom: #cfec74;
$custom-light: #e0f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfec74",
  "rgb": {
    "r": 207,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 74.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89722,
    "c": 0.14992,
    "h": 120.7
  },
  "luminance": 0.74517
}

Semantic roles & 50–950 ramp

primary
#CFEC74
secondary
#6040C5
accent
#0DD83E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEC74

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

Preview Lab → · Contrast checker → · Palette generator →

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