#CDF261#CDF261

#CDF261 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.175 H 122.1°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#CDF261
RGBrgb(205, 242, 97)
HSLhsl(75, 85%, 66%)
HSVhsv(75, 60%, 95%)
CMYKcmyk(15.3%, 0%, 59.9%, 5.1%)
CIE-LABlab(90.48, -32.24, 64.26)
CIE-LCHlch(90.48, 71.90, 116.64°)
OKLaboklab(90.69% -0.0927 0.1481)
OKLCHoklch(90.69% 0.175 122.1)
XYZxyz(59.0872, 77.3464, 23.1234)
Luminance0.7735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF261 #8661F2
analogous
#F2CE61 #CDF261 #85F261
triadic
#CDF261 #61CDF2 #F261CD
tetradic
#CDF261 #61F2CE #8661F2 #F26185
square
#CDF261 #61F2CE #8661F2 #F26185
split-complementary
#CDF261 #6185F2 #CE61F2
monochromatic
#99C810 #BBED28 #CDF261 #DFF79A #F1FBD2

Accessibility & contrast

On white

1.28
#CDF261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#CDF261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF261
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF261#FFFFFF#000000##000000
##CDF2611.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE550
Deuteranopia (green-blind)
#FBE46B
Tritanopia (blue-blind)
#D7E7D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf261;
/* rgb */ color: rgb(205, 242, 97);
/* oklch */ color: oklch(90.7% 0.175 122.1);
Tailwind
colors: {
  custom: {
    50: '#dff693',
    500: '#cdf261',
    950: '#000000',
  },
}
SCSS
$custom: #cdf261;
$custom-light: #dff693;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf261",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 75.31,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90686,
    "c": 0.17471,
    "h": 122.1
  },
  "luminance": 0.77346
}

Semantic roles & 50–950 ramp

primary
#CDF261
secondary
#5832C5
accent
#04E13D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF261

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

Preview Lab → · Contrast checker → · Palette generator →

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