#CDEC62#CDEC62

#CDEC62 is a very light, vivid yellow-green. Relative luminance 0.739; OKLCH L 89.4% C 0.167 H 120.5°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#CDEC62
RGBrgb(205, 236, 98)
HSLhsl(73, 78%, 65%)
HSVhsv(73, 58%, 93%)
CMYKcmyk(13.1%, 0%, 58.5%, 7.5%)
CIE-LABlab(88.85, -29.37, 62.04)
CIE-LCHlch(88.85, 68.64, 115.34°)
OKLaboklab(89.38% -0.0846 0.1435)
OKLCHoklch(89.38% 0.167 120.5)
XYZxyz(57.3776, 73.8520, 22.7850)
Luminance0.7385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC62 #8162EC
analogous
#ECC662 #CDEC62 #88EC62
triadic
#CDEC62 #62CDEC #EC62CD
tetradic
#CDEC62 #62ECC6 #8162EC #EC6288
square
#CDEC62 #62ECC6 #8162EC #EC6288
split-complementary
#CDEC62 #6288EC #C662EC
monochromatic
#97BD17 #BCE52B #CDEC62 #DEF399 #F0F9CF

Accessibility & contrast

On white

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

On black

15.77
#CDEC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC62
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC62#FFFFFF#000000##000000
##CDEC621.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#F6DF6B
Tritanopia (blue-blind)
#D7E1CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cdec62;
/* rgb */ color: rgb(205, 236, 98);
/* oklch */ color: oklch(89.4% 0.167 120.5);
Tailwind
colors: {
  custom: {
    50: '#dff293',
    500: '#cdec62',
    950: '#000000',
  },
}
SCSS
$custom: #cdec62;
$custom-light: #dff293;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec62",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 98
  },
  "hsl": {
    "h": 73.478,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.89378,
    "c": 0.16658,
    "h": 120.5
  },
  "luminance": 0.73852
}

Semantic roles & 50–950 ramp

primary
#CDEC62
secondary
#5437BC
accent
#0BDB3A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CDEC62

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

Preview Lab → · Contrast checker → · Palette generator →

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