#CDF262#CDF262

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

Color values

HEX#CDF262
RGBrgb(205, 242, 98)
HSLhsl(75, 85%, 67%)
HSVhsv(75, 60%, 95%)
CMYKcmyk(15.3%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.49, -32.16, 63.85)
CIE-LCHlch(90.49, 71.50, 116.73°)
OKLaboklab(90.7% -0.0924 0.1473)
OKLCHoklch(90.7% 0.174 122.1)
XYZxyz(59.1341, 77.3651, 23.3706)
Luminance0.7736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF262 #8762F2
analogous
#F2CF62 #CDF262 #85F262
triadic
#CDF262 #62CDF2 #F262CD
tetradic
#CDF262 #62F2CF #8762F2 #F26285
square
#CDF262 #62F2CF #8762F2 #F26285
split-complementary
#CDF262 #6285F2 #CF62F2
monochromatic
#9AC911 #BBED29 #CDF262 #DFF79B #F1FBD3

Accessibility & contrast

On white

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

On black

16.47
#CDF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF262
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF262#FFFFFF#000000##000000
##CDF2621.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#D7E7D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf262;
/* rgb */ color: rgb(205, 242, 98);
/* oklch */ color: oklch(90.7% 0.174 122.1);
Tailwind
colors: {
  custom: {
    50: '#dff694',
    500: '#cdf262',
    950: '#000000',
  },
}
SCSS
$custom: #cdf262;
$custom-light: #dff694;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf262",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 75.417,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90696,
    "c": 0.17392,
    "h": 122.1
  },
  "luminance": 0.77365
}

Semantic roles & 50–950 ramp

primary
#CDF262
secondary
#5833C6
accent
#04E13D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF262

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

Preview Lab → · Contrast checker → · Palette generator →

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