#CDF296#CDF296

#CDF296 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.4% C 0.124 H 126.6°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#CDF296
RGBrgb(205, 242, 150)
HSLhsl(84, 78%, 77%)
HSVhsv(84, 38%, 95%)
CMYKcmyk(15.3%, 0%, 38%, 5.1%)
CIE-LABlab(91.09, -26.96, 40.52)
CIE-LCHlch(91.09, 48.67, 123.64°)
OKLaboklab(91.38% -0.0739 0.0996)
OKLCHoklch(91.38% 0.124 126.6)
XYZxyz(62.4334, 78.6848, 40.7467)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF296 #BB96F2
analogous
#F2E996 #CDF296 #9FF296
triadic
#CDF296 #96CDF2 #F296CD
tetradic
#CDF296 #96F2E9 #BB96F2 #F2969F
square
#CDF296 #96F2E9 #BB96F2 #F2969F
split-complementary
#CDF296 #969FF2 #E996F2
monochromatic
#99E529 #B3EB60 #CDF296 #E7F9CC #F2FCE4

Accessibility & contrast

On white

1.25
#CDF296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#CDF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF296
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF296#FFFFFF#000000##000000
##CDF2961.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE78F
Deuteranopia (green-blind)
#F6E59B
Tritanopia (blue-blind)
#D2EADB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf296;
/* rgb */ color: rgb(205, 242, 150);
/* oklch */ color: oklch(91.4% 0.124 126.6);
Tailwind
colors: {
  custom: {
    50: '#ddf6b6',
    500: '#cdf296',
    950: '#000000',
  },
}
SCSS
$custom: #cdf296;
$custom-light: #ddf6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf296",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 84.13,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.91375,
    "c": 0.12406,
    "h": 126.6
  },
  "luminance": 0.78685
}

Semantic roles & 50–950 ramp

primary
#CDF296
secondary
#8B5DCF
accent
#0BDA5F
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF296

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

Preview Lab → · Contrast checker → · Palette generator →

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