#CDF462#CDF462

#CDF462 is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.1% C 0.176 H 122.6°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#CDF462
RGBrgb(205, 244, 98)
HSLhsl(76, 87%, 67%)
HSVhsv(76, 60%, 96%)
CMYKcmyk(16%, 0%, 59.8%, 4.3%)
CIE-LABlab(91.04, -33.08, 64.46)
CIE-LCHlch(91.04, 72.45, 117.17°)
OKLaboklab(91.14% -0.095 0.1486)
OKLCHoklch(91.14% 0.176 122.6)
XYZxyz(59.7326, 78.5622, 23.5701)
Luminance0.7856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF462 #8962F4
analogous
#F4D262 #CDF462 #84F462
triadic
#CDF462 #62CDF4 #F462CD
tetradic
#CDF462 #62F4D2 #8962F4 #F46284
square
#CDF462 #62F4D2 #8962F4 #F46284
split-complementary
#CDF462 #6284F4 #D262F4
monochromatic
#9ACD0E #BBF029 #CDF462 #DFF89B #F1FCD4

Accessibility & contrast

On white

1.26
#CDF462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#CDF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF462
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF462#FFFFFF#000000##000000
##CDF4621.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#D6E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf462;
/* rgb */ color: rgb(205, 244, 98);
/* oklch */ color: oklch(91.1% 0.176 122.6);
Tailwind
colors: {
  custom: {
    50: '#dff794',
    500: '#cdf462',
    950: '#000000',
  },
}
SCSS
$custom: #cdf462;
$custom-light: #dff794;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf462",
  "rgb": {
    "r": 205,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 76.027,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.91136,
    "c": 0.17637,
    "h": 122.6
  },
  "luminance": 0.78562
}

Semantic roles & 50–950 ramp

primary
#CDF462
secondary
#5A31C9
accent
#02E33E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #CDF462

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

Preview Lab → · Contrast checker → · Palette generator →

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