#CDF54F#CDF54F

#CDF54F is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.2% C 0.191 H 122.0°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#CDF54F
RGBrgb(205, 245, 79)
HSLhsl(74, 89%, 64%)
HSVhsv(74, 68%, 96%)
CMYKcmyk(16.3%, 0%, 67.8%, 3.9%)
CIE-LABlab(91.17, -34.82, 72.05)
CIE-LCHlch(91.17, 80.02, 115.79°)
OKLaboklab(91.19% -0.1015 0.1621)
OKLCHoklch(91.19% 0.191 122)
XYZxyz(59.2413, 78.8484, 19.4939)
Luminance0.7885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF54F #774FF5
analogous
#F5CA4F #CDF54F #7AF54F
triadic
#CDF54F #4FCDF5 #F54FCD
tetradic
#CDF54F #4FF5CA #774FF5 #F54F7A
square
#CDF54F #4FF5CA #774FF5 #F54F7A
split-complementary
#CDF54F #4F7AF5 #CA4FF5
monochromatic
#93BF0B #BDF215 #CDF54F #DDF889 #EEFCC3

Accessibility & contrast

On white

1.25
#CDF54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#CDF54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF54F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF54F#FFFFFF#000000##000000
##CDF54F1.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE735
Deuteranopia (green-blind)
#FEE65C
Tritanopia (blue-blind)
#D7E9D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cdf54f;
/* rgb */ color: rgb(205, 245, 79);
/* oklch */ color: oklch(91.2% 0.191 122.0);
Tailwind
colors: {
  custom: {
    50: '#e0f889',
    500: '#cdf54f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf54f;
$custom-light: #e0f889;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf54f",
  "rgb": {
    "r": 205,
    "g": 245,
    "b": 79
  },
  "hsl": {
    "h": 74.458,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.91194,
    "c": 0.19127,
    "h": 122
  },
  "luminance": 0.78848
}

Semantic roles & 50–950 ramp

primary
#CDF54F
secondary
#4F2CBD
accent
#00E637
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CDF54F

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

Preview Lab → · Contrast checker → · Palette generator →

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