#CDF271#CDF271

#CDF271 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.9% C 0.161 H 122.9°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#CDF271
RGBrgb(205, 242, 113)
HSLhsl(77, 83%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(15.3%, 0%, 53.3%, 5.1%)
CIE-LABlab(90.63, -30.92, 57.49)
CIE-LCHlch(90.63, 65.28, 118.27°)
OKLaboklab(90.86% -0.0876 0.1352)
OKLCHoklch(90.86% 0.161 122.9)
XYZxyz(59.9099, 77.6754, 27.4562)
Luminance0.7768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF271 #9671F2
analogous
#F2D671 #CDF271 #8DF271
triadic
#CDF271 #71CDF2 #F271CD
tetradic
#CDF271 #71F2D6 #9671F2 #F2718D
square
#CDF271 #71F2D6 #9671F2 #F2718D
split-complementary
#CDF271 #718DF2 #D671F2
monochromatic
#9ED514 #B9ED39 #CDF271 #E1F7A9 #F4FCE1

Accessibility & contrast

On white

1.27
#CDF271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#CDF271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF271
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF271#FFFFFF#000000##000000
##CDF2711.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE564
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#D5E7D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf271;
/* rgb */ color: rgb(205, 242, 113);
/* oklch */ color: oklch(90.9% 0.161 122.9);
Tailwind
colors: {
  custom: {
    50: '#def69d',
    500: '#cdf271',
    950: '#000000',
  },
}
SCSS
$custom: #cdf271;
$custom-light: #def69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf271",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 77.209,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90856,
    "c": 0.16113,
    "h": 122.9
  },
  "luminance": 0.77676
}

Semantic roles & 50–950 ramp

primary
#CDF271
secondary
#653CCB
accent
#06E044
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF271

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

Preview Lab → · Contrast checker → · Palette generator →

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