#CDF45C#CDF45C

#CDF45C is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.1% C 0.181 H 122.3°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#CDF45C
RGBrgb(205, 244, 92)
HSLhsl(75, 87%, 66%)
HSVhsv(75, 62%, 96%)
CMYKcmyk(16%, 0%, 62.3%, 4.3%)
CIE-LABlab(90.99, -33.52, 66.86)
CIE-LCHlch(90.99, 74.79, 116.63°)
OKLaboklab(91.08% -0.0967 0.153)
OKLCHoklch(91.08% 0.181 122.3)
XYZxyz(59.4599, 78.4531, 22.1336)
Luminance0.7845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF45C #835CF4
analogous
#F4CF5C #CDF45C #81F45C
triadic
#CDF45C #5CCDF4 #F45CCD
tetradic
#CDF45C #5CF4CF #835CF4 #F45C81
square
#CDF45C #5CF4CF #835CF4 #F45C81
split-complementary
#CDF45C #5C81F4 #CF5CF4
monochromatic
#98C80E #BBF023 #CDF45C #DFF895 #F0FCCF

Accessibility & contrast

On white

1.26
#CDF45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#CDF45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF45C
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF45C#FFFFFF#000000##000000
##CDF45C1.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE649
Deuteranopia (green-blind)
#FDE567
Tritanopia (blue-blind)
#D7E8D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf45c;
/* rgb */ color: rgb(205, 244, 92);
/* oklch */ color: oklch(91.1% 0.181 122.3);
Tailwind
colors: {
  custom: {
    50: '#dff790',
    500: '#cdf45c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf45c;
$custom-light: #dff790;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf45c",
  "rgb": {
    "r": 205,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 75.395,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.9108,
    "c": 0.18101,
    "h": 122.3
  },
  "luminance": 0.78453
}

Semantic roles & 50–950 ramp

primary
#CDF45C
secondary
#562FC5
accent
#02E43C
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF45C

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

Preview Lab → · Contrast checker → · Palette generator →

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