#CDEC74#CDEC74

#CDEC74 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.6% C 0.151 H 121.5°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#CDEC74
RGBrgb(205, 236, 116)
HSLhsl(76, 76%, 69%)
HSVhsv(76, 51%, 93%)
CMYKcmyk(13.1%, 0%, 50.8%, 7.5%)
CIE-LABlab(89.03, -27.83, 54.25)
CIE-LCHlch(89.03, 60.97, 117.16°)
OKLaboklab(89.58% -0.0787 0.1285)
OKLCHoklch(89.58% 0.151 121.5)
XYZxyz(58.3250, 74.2310, 27.7750)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC74 #9374EC
analogous
#ECCF74 #CDEC74 #91EC74
triadic
#CDEC74 #74CDEC #EC74CD
tetradic
#CDEC74 #74ECCF #9374EC #EC7491
square
#CDEC74 #74ECCF #9374EC #EC7491
split-complementary
#CDEC74 #7491EC #CF74EC
monochromatic
#9DCA1C #BAE53E #CDEC74 #E0F3AA #F4FBE0

Accessibility & contrast

On white

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

On black

15.85
#CDEC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC74
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC74#FFFFFF#000000##000000
##CDEC741.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdec74;
/* rgb */ color: rgb(205, 236, 116);
/* oklch */ color: oklch(89.6% 0.151 121.5);
Tailwind
colors: {
  custom: {
    50: '#def29f',
    500: '#cdec74',
    950: '#000000',
  },
}
SCSS
$custom: #cdec74;
$custom-light: #def29f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec74",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 75.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8958,
    "c": 0.15064,
    "h": 121.5
  },
  "luminance": 0.74231
}

Semantic roles & 50–950 ramp

primary
#CDEC74
secondary
#6240C5
accent
#0DD842
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CDEC74

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

Preview Lab → · Contrast checker → · Palette generator →

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