#CDF254#CDF254

#CDF254 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.6% C 0.184 H 121.5°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#CDF254
RGBrgb(205, 242, 84)
HSLhsl(74, 86%, 64%)
HSVhsv(74, 65%, 95%)
CMYKcmyk(15.3%, 0%, 65.3%, 5.1%)
CIE-LABlab(90.38, -33.14, 69.37)
CIE-LCHlch(90.38, 76.88, 115.54°)
OKLaboklab(90.57% -0.0964 0.1572)
OKLCHoklch(90.57% 0.184 121.5)
XYZxyz(58.5300, 77.1235, 20.1886)
Luminance0.7712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF254 #7954F2
analogous
#F2C854 #CDF254 #7EF254
triadic
#CDF254 #54CDF2 #F254CD
tetradic
#CDF254 #54F2C8 #7954F2 #F2547E
square
#CDF254 #54F2C8 #7954F2 #F2547E
split-complementary
#CDF254 #547EF2 #C854F2
monochromatic
#94BD0E #BCEE1B #CDF254 #DEF68D #EEFBC6

Accessibility & contrast

On white

1.28
#CDF254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#CDF254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF254
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF254#FFFFFF#000000##000000
##CDF2541.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43E
Deuteranopia (green-blind)
#FBE460
Tritanopia (blue-blind)
#D7E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf254;
/* rgb */ color: rgb(205, 242, 84);
/* oklch */ color: oklch(90.6% 0.184 121.5);
Tailwind
colors: {
  custom: {
    50: '#e0f68c',
    500: '#cdf254',
    950: '#000000',
  },
}
SCSS
$custom: #cdf254;
$custom-light: #e0f68c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf254",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 84
  },
  "hsl": {
    "h": 74.051,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.9057,
    "c": 0.18441,
    "h": 121.5
  },
  "luminance": 0.77123
}

Semantic roles & 50–950 ramp

primary
#CDF254
secondary
#502FBB
accent
#03E237
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF254

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

Preview Lab → · Contrast checker → · Palette generator →

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