#CDF398#CDF398

#CDF398 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.6% C 0.123 H 127.1°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#CDF398
RGBrgb(205, 243, 152)
HSLhsl(85, 79%, 77%)
HSVhsv(85, 37%, 95%)
CMYKcmyk(15.6%, 0%, 37.4%, 4.7%)
CIE-LABlab(91.39, -27.19, 39.91)
CIE-LCHlch(91.39, 48.29, 124.26°)
OKLaboklab(91.62% -0.0744 0.0983)
OKLCHoklch(91.62% 0.123 127.1)
XYZxyz(62.8943, 79.3467, 41.7016)
Luminance0.7935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF398 #BE98F3
analogous
#F3EB98 #CDF398 #A0F398
triadic
#CDF398 #98CDF3 #F398CD
tetradic
#CDF398 #98F3EB #BE98F3 #F398A0
square
#CDF398 #98F3EB #BE98F3 #F398A0
split-complementary
#CDF398 #98A0F3 #EB98F3
monochromatic
#98E62A #B2ED61 #CDF398 #E8F9CF #F2FCE4

Accessibility & contrast

On white

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

On black

16.87
#CDF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF398
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF398#FFFFFF#000000##000000
##CDF3981.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE891
Deuteranopia (green-blind)
#F6E69D
Tritanopia (blue-blind)
#D2EBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cdf398;
/* rgb */ color: rgb(205, 243, 152);
/* oklch */ color: oklch(91.6% 0.123 127.1);
Tailwind
colors: {
  custom: {
    50: '#ddf7b7',
    500: '#cdf398',
    950: '#000000',
  },
}
SCSS
$custom: #cdf398;
$custom-light: #ddf7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf398",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 85.055,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91624,
    "c": 0.12332,
    "h": 127.1
  },
  "luminance": 0.79347
}

Semantic roles & 50–950 ramp

primary
#CDF398
secondary
#8E5ED1
accent
#0ADB61
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF398

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

Preview Lab → · Contrast checker → · Palette generator →

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