#CDE271#CDE271

#CDE271 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 87.4% C 0.141 H 118.1°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#CDE271
RGBrgb(205, 226, 113)
HSLhsl(71, 66%, 66%)
HSVhsv(71, 50%, 89%)
CMYKcmyk(9.3%, 0%, 50%, 11.4%)
CIE-LABlab(86.29, -23.35, 52.38)
CIE-LCHlch(86.29, 57.35, 114.02°)
OKLaboklab(87.37% -0.0663 0.1241)
OKLCHoklch(87.37% 0.141 118.1)
XYZxyz(55.3544, 68.5645, 25.9377)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE271 #8671E2
analogous
#E2BE71 #CDE271 #95E271
triadic
#CDE271 #71CDE2 #E271CD
tetradic
#CDE271 #71E2BE #8671E2 #E27195
square
#CDE271 #71E2BE #8671E2 #E27195
split-complementary
#CDE271 #7195E2 #BE71E2
monochromatic
#99B425 #BBD83E #CDE271 #DFECA4 #F1F7D7

Accessibility & contrast

On white

1.43
#CDE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#CDE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE271
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE271#FFFFFF#000000##000000
##CDE2711.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD867
Deuteranopia (green-blind)
#ECD977
Tritanopia (blue-blind)
#D7D8C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cde271;
/* rgb */ color: rgb(205, 226, 113);
/* oklch */ color: oklch(87.4% 0.141 118.1);
Tailwind
colors: {
  custom: {
    50: '#deeb9c',
    500: '#cde271',
    950: '#000000',
  },
}
SCSS
$custom: #cde271;
$custom-light: #deeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cde271",
  "rgb": {
    "r": 205,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 71.15,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87368,
    "c": 0.14073,
    "h": 118.1
  },
  "luminance": 0.68564
}

Semantic roles & 50–950 ramp

primary
#CDE271
secondary
#5842B5
accent
#18CE39
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CDE271

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

Preview Lab → · Contrast checker → · Palette generator →

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