#CDF371#CDF371

#CDF371 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.1% C 0.162 H 123.2°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#CDF371
RGBrgb(205, 243, 113)
HSLhsl(78, 84%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(15.6%, 0%, 53.5%, 4.7%)
CIE-LABlab(90.90, -31.38, 57.81)
CIE-LCHlch(90.90, 65.78, 118.49°)
OKLaboklab(91.07% -0.0889 0.1359)
OKLCHoklch(91.07% 0.162 123.2)
XYZxyz(60.2083, 78.2723, 27.5557)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF371 #9771F3
analogous
#F3D871 #CDF371 #8CF371
triadic
#CDF371 #71CDF3 #F371CD
tetradic
#CDF371 #71F3D8 #9771F3 #F3718C
square
#CDF371 #71F3D8 #9771F3 #F3718C
split-complementary
#CDF371 #718CF3 #D871F3
monochromatic
#9ED712 #B9EE39 #CDF371 #E1F8A9 #F5FDE2

Accessibility & contrast

On white

1.26
#CDF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#CDF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF371
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF371#FFFFFF#000000##000000
##CDF3711.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#D5E8D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf371;
/* rgb */ color: rgb(205, 243, 113);
/* oklch */ color: oklch(91.1% 0.162 123.2);
Tailwind
colors: {
  custom: {
    50: '#def79d',
    500: '#cdf371',
    950: '#000000',
  },
}
SCSS
$custom: #cdf371;
$custom-light: #def79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf371",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 77.538,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91075,
    "c": 0.16241,
    "h": 123.2
  },
  "luminance": 0.78273
}

Semantic roles & 50–950 ramp

primary
#CDF371
secondary
#663BCD
accent
#05E145
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF371

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

Preview Lab → · Contrast checker → · Palette generator →

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