#CDF397#CDF397

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

Color values

HEX#CDF397
RGBrgb(205, 243, 151)
HSLhsl(85, 79%, 77%)
HSVhsv(85, 38%, 95%)
CMYKcmyk(15.6%, 0%, 37.9%, 4.7%)
CIE-LABlab(91.38, -27.31, 40.39)
CIE-LCHlch(91.38, 48.76, 124.07°)
OKLaboklab(91.61% -0.0748 0.0994)
OKLCHoklch(91.61% 0.124 127)
XYZxyz(62.8127, 79.3141, 41.2721)
Luminance0.7932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF397 #BD97F3
analogous
#F3EB97 #CDF397 #9FF397
triadic
#CDF397 #97CDF3 #F397CD
tetradic
#CDF397 #97F3EB #BD97F3 #F3979F
square
#CDF397 #97F3EB #BD97F3 #F3979F
split-complementary
#CDF397 #979FF3 #EB97F3
monochromatic
#98E629 #B3ED60 #CDF397 #E7F9CE #F2FCE4

Accessibility & contrast

On white

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

On black

16.86
#CDF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF397
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF397#FFFFFF#000000##000000
##CDF3971.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf397;
/* rgb */ color: rgb(205, 243, 151);
/* oklch */ color: oklch(91.6% 0.124 127.0);
Tailwind
colors: {
  custom: {
    50: '#ddf7b6',
    500: '#cdf397',
    950: '#000000',
  },
}
SCSS
$custom: #cdf397;
$custom-light: #ddf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf397",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 84.783,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91608,
    "c": 0.12442,
    "h": 127
  },
  "luminance": 0.79315
}

Semantic roles & 50–950 ramp

primary
#CDF397
secondary
#8D5DD1
accent
#0ADC61
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF397

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

Preview Lab → · Contrast checker → · Palette generator →

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