#CDF162#CDF162

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

Color values

HEX#CDF162
RGBrgb(205, 241, 98)
HSLhsl(75, 84%, 66%)
HSVhsv(75, 59%, 95%)
CMYKcmyk(14.9%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.22, -31.70, 63.55)
CIE-LCHlch(90.22, 71.02, 116.51°)
OKLaboklab(90.48% -0.0911 0.1467)
OKLCHoklch(90.48% 0.173 121.9)
XYZxyz(58.8373, 76.7715, 23.2716)
Luminance0.7677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF162 #8662F1
analogous
#F1CE62 #CDF162 #86F162
triadic
#CDF162 #62CDF1 #F162CD
tetradic
#CDF162 #62F1CE #8662F1 #F16286
square
#CDF162 #62F1CE #8662F1 #F16286
split-complementary
#CDF162 #6286F1 #CE62F1
monochromatic
#99C712 #BBEC2A #CDF162 #DFF69A #F1FBD2

Accessibility & contrast

On white

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

On black

16.35
#CDF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF162
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF162#FFFFFF#000000##000000
##CDF1621.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE452
Deuteranopia (green-blind)
#FAE36C
Tritanopia (blue-blind)
#D7E6D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf162;
/* rgb */ color: rgb(205, 241, 98);
/* oklch */ color: oklch(90.5% 0.173 121.9);
Tailwind
colors: {
  custom: {
    50: '#dff594',
    500: '#cdf162',
    950: '#000000',
  },
}
SCSS
$custom: #cdf162;
$custom-light: #dff594;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf162",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 75.105,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90476,
    "c": 0.17269,
    "h": 121.9
  },
  "luminance": 0.76772
}

Semantic roles & 50–950 ramp

primary
#CDF162
secondary
#5833C4
accent
#05E03C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CDF162

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

Preview Lab → · Contrast checker → · Palette generator →

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