#CDF166#CDF166

#CDF166 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.5% C 0.169 H 122.0°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#CDF166
RGBrgb(205, 241, 102)
HSLhsl(76, 83%, 67%)
HSVhsv(76, 58%, 95%)
CMYKcmyk(14.9%, 0%, 57.7%, 5.5%)
CIE-LABlab(90.25, -31.39, 61.89)
CIE-LCHlch(90.25, 69.40, 116.89°)
OKLaboklab(90.52% -0.0899 0.1436)
OKLCHoklch(90.52% 0.169 122)
XYZxyz(59.0309, 76.8490, 24.2913)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF166 #8A66F1
analogous
#F1D066 #CDF166 #87F166
triadic
#CDF166 #66CDF1 #F166CD
tetradic
#CDF166 #66F1D0 #8A66F1 #F16687
square
#CDF166 #66F1D0 #8A66F1 #F16687
split-complementary
#CDF166 #6687F1 #D066F1
monochromatic
#9BCA12 #BBEC2E #CDF166 #DFF69E #F2FBD6

Accessibility & contrast

On white

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

On black

16.37
#CDF166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF166
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF166#FFFFFF#000000##000000
##CDF1661.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#F9E36F
Tritanopia (blue-blind)
#D6E6D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf166;
/* rgb */ color: rgb(205, 241, 102);
/* oklch */ color: oklch(90.5% 0.169 122.0);
Tailwind
colors: {
  custom: {
    50: '#dff596',
    500: '#cdf166',
    950: '#000000',
  },
}
SCSS
$custom: #cdf166;
$custom-light: #dff596;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf166",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 102
  },
  "hsl": {
    "h": 75.54,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90516,
    "c": 0.16941,
    "h": 122
  },
  "luminance": 0.76849
}

Semantic roles & 50–950 ramp

primary
#CDF166
secondary
#5A34C7
accent
#06E03E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CDF166

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

Preview Lab → · Contrast checker → · Palette generator →

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