#CDF266#CDF266

#CDF266 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.7% C 0.171 H 122.3°. Best body text is #000000 at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#CDF266
RGBrgb(205, 242, 102)
HSLhsl(76, 84%, 67%)
HSVhsv(76, 58%, 95%)
CMYKcmyk(15.3%, 0%, 57.9%, 5.1%)
CIE-LABlab(90.52, -31.85, 62.20)
CIE-LCHlch(90.52, 69.88, 117.11°)
OKLaboklab(90.74% -0.0912 0.1443)
OKLCHoklch(90.74% 0.171 122.3)
XYZxyz(59.3277, 77.4426, 24.3902)
Luminance0.7744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF266 #8B66F2
analogous
#F2D166 #CDF266 #87F266
triadic
#CDF266 #66CDF2 #F266CD
tetradic
#CDF266 #66F2D1 #8B66F2 #F26687
square
#CDF266 #66F2D1 #8B66F2 #F26687
split-complementary
#CDF266 #6687F2 #D166F2
monochromatic
#9BCC11 #BBED2E #CDF266 #DFF79E #F2FCD7

Accessibility & contrast

On white

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

On black

16.49
#CDF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF266
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF266#FFFFFF#000000##000000
##CDF2661.001.2716.4916.49
#FFFFFF1.271.0021.0021.00
#00000016.4921.001.001.00
##00000016.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FAE46F
Tritanopia (blue-blind)
#D6E7D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf266;
/* rgb */ color: rgb(205, 242, 102);
/* oklch */ color: oklch(90.7% 0.171 122.3);
Tailwind
colors: {
  custom: {
    50: '#dff696',
    500: '#cdf266',
    950: '#000000',
  },
}
SCSS
$custom: #cdf266;
$custom-light: #dff696;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf266",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 75.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90736,
    "c": 0.17067,
    "h": 122.3
  },
  "luminance": 0.77443
}

Semantic roles & 50–950 ramp

primary
#CDF266
secondary
#5B34C9
accent
#05E13F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CDF266

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

Preview Lab → · Contrast checker → · Palette generator →

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