#CDF270#CDF270

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

Color values

HEX#CDF270
RGBrgb(205, 242, 112)
HSLhsl(77, 83%, 69%)
HSVhsv(77, 54%, 95%)
CMYKcmyk(15.3%, 0%, 53.7%, 5.1%)
CIE-LABlab(90.62, -31.01, 57.93)
CIE-LCHlch(90.62, 65.71, 118.16°)
OKLaboklab(90.84% -0.0879 0.1361)
OKLCHoklch(90.84% 0.162 122.9)
XYZxyz(59.8539, 77.6531, 27.1614)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF270 #9570F2
analogous
#F2D670 #CDF270 #8CF270
triadic
#CDF270 #70CDF2 #F270CD
tetradic
#CDF270 #70F2D6 #9570F2 #F2708C
square
#CDF270 #70F2D6 #9570F2 #F2708C
split-complementary
#CDF270 #708CF2 #D670F2
monochromatic
#9DD413 #B9ED38 #CDF270 #E1F7A8 #F4FCE0

Accessibility & contrast

On white

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

On black

16.53
#CDF270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF270
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF270#FFFFFF#000000##000000
##CDF2701.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE563
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#D6E7D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf270;
/* rgb */ color: rgb(205, 242, 112);
/* oklch */ color: oklch(90.8% 0.162 122.9);
Tailwind
colors: {
  custom: {
    50: '#def69d',
    500: '#cdf270',
    950: '#000000',
  },
}
SCSS
$custom: #cdf270;
$custom-light: #def69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf270",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 77.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90844,
    "c": 0.16203,
    "h": 122.9
  },
  "luminance": 0.77653
}

Semantic roles & 50–950 ramp

primary
#CDF270
secondary
#643BCB
accent
#06E044
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CDF270

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

Preview Lab → · Contrast checker → · Palette generator →

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