#CDF45B#CDF45B

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

Color values

HEX#CDF45B
RGBrgb(205, 244, 91)
HSLhsl(75, 87%, 66%)
HSVhsv(75, 63%, 96%)
CMYKcmyk(16%, 0%, 62.7%, 4.3%)
CIE-LABlab(90.98, -33.59, 67.26)
CIE-LCHlch(90.98, 75.18, 116.54°)
OKLaboklab(91.07% -0.097 0.1537)
OKLCHoklch(91.07% 0.182 122.3)
XYZxyz(59.4165, 78.4357, 21.9049)
Luminance0.7844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF45B #825BF4
analogous
#F4CE5B #CDF45B #80F45B
triadic
#CDF45B #5BCDF4 #F45BCD
tetradic
#CDF45B #5BF4CE #825BF4 #F45B80
square
#CDF45B #5BF4CE #825BF4 #F45B80
split-complementary
#CDF45B #5B80F4 #CE5BF4
monochromatic
#98C70D #BCF022 #CDF45B #DEF894 #F0FCCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF45B#FFFFFF#000000##000000
##CDF45B1.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)
#FFE648
Deuteranopia (green-blind)
#FDE566
Tritanopia (blue-blind)
#D7E8D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf45b;
/* rgb */ color: rgb(205, 244, 91);
/* oklch */ color: oklch(91.1% 0.182 122.3);
Tailwind
colors: {
  custom: {
    50: '#dff790',
    500: '#cdf45b',
    950: '#000000',
  },
}
SCSS
$custom: #cdf45b;
$custom-light: #dff790;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf45b",
  "rgb": {
    "r": 205,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 75.294,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91071,
    "c": 0.18175,
    "h": 122.3
  },
  "luminance": 0.78436
}

Semantic roles & 50–950 ramp

primary
#CDF45B
secondary
#552FC4
accent
#02E43B
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF45B

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

Preview Lab → · Contrast checker → · Palette generator →

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