#CDF45F#CDF45F

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

Color values

HEX#CDF45F
RGBrgb(205, 244, 95)
HSLhsl(76, 87%, 66%)
HSVhsv(76, 61%, 96%)
CMYKcmyk(16%, 0%, 61.1%, 4.3%)
CIE-LABlab(91.01, -33.31, 65.67)
CIE-LCHlch(91.01, 73.63, 116.89°)
OKLaboklab(91.11% -0.0959 0.1508)
OKLCHoklch(91.11% 0.179 122.4)
XYZxyz(59.5936, 78.5066, 22.8380)
Luminance0.7851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF45F #865FF4
analogous
#F4D15F #CDF45F #83F45F
triadic
#CDF45F #5FCDF4 #F45FCD
tetradic
#CDF45F #5FF4D1 #865FF4 #F45F83
square
#CDF45F #5FF4D1 #865FF4 #F45F83
split-complementary
#CDF45F #5F83F4 #D15FF4
monochromatic
#99CB0E #BBF026 #CDF45F #DFF898 #F1FCD2

Accessibility & contrast

On white

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

On black

16.70
#CDF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF45F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF45F#FFFFFF#000000##000000
##CDF45F1.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64D
Deuteranopia (green-blind)
#FCE569
Tritanopia (blue-blind)
#D7E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf45f;
/* rgb */ color: rgb(205, 244, 95);
/* oklch */ color: oklch(91.1% 0.179 122.4);
Tailwind
colors: {
  custom: {
    50: '#dff792',
    500: '#cdf45f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf45f;
$custom-light: #dff792;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf45f",
  "rgb": {
    "r": 205,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 75.705,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91107,
    "c": 0.17873,
    "h": 122.4
  },
  "luminance": 0.78507
}

Semantic roles & 50–950 ramp

primary
#CDF45F
secondary
#5830C7
accent
#02E43D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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