#CDF498#CDF498

#CDF498 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.8% C 0.125 H 127.4°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#CDF498
RGBrgb(205, 244, 152)
HSLhsl(85, 81%, 78%)
HSVhsv(85, 38%, 96%)
CMYKcmyk(16%, 0%, 37.7%, 4.3%)
CIE-LABlab(91.66, -27.66, 40.26)
CIE-LCHlch(91.66, 48.85, 124.49°)
OKLaboklab(91.84% -0.0758 0.0991)
OKLCHoklch(91.84% 0.125 127.4)
XYZxyz(63.1943, 79.9468, 41.8016)
Luminance0.7995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF498 #BF98F4
analogous
#F4ED98 #CDF498 #9FF498
triadic
#CDF498 #98CDF4 #F498CD
tetradic
#CDF498 #98F4ED #BF98F4 #F4989F
square
#CDF498 #98F4ED #BF98F4 #F4989F
split-complementary
#CDF498 #989FF4 #ED98F4
monochromatic
#97E829 #B2EE61 #CDF498 #E8FACF #F2FCE3

Accessibility & contrast

On white

1.24
#CDF498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#CDF498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF498
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF498#FFFFFF#000000##000000
##CDF4981.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE991
Deuteranopia (green-blind)
#F7E69D
Tritanopia (blue-blind)
#D1ECDD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #cdf498;
/* rgb */ color: rgb(205, 244, 152);
/* oklch */ color: oklch(91.8% 0.125 127.4);
Tailwind
colors: {
  custom: {
    50: '#ddf7b7',
    500: '#cdf498',
    950: '#000000',
  },
}
SCSS
$custom: #cdf498;
$custom-light: #ddf7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf498",
  "rgb": {
    "r": 205,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 85.435,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.91841,
    "c": 0.12477,
    "h": 127.4
  },
  "luminance": 0.79948
}

Semantic roles & 50–950 ramp

primary
#CDF498
secondary
#8F5ED2
accent
#08DD63
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF498

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

Preview Lab → · Contrast checker → · Palette generator →

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