#CDE22B#CDE22B

#CDE22B is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.8% C 0.189 H 116.5°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#CDE22B
RGBrgb(205, 226, 43)
HSLhsl(67, 76%, 53%)
HSVhsv(67, 81%, 89%)
CMYKcmyk(9.3%, 0%, 81%, 11.4%)
CIE-LABlab(85.78, -27.65, 78.17)
CIE-LCHlch(85.78, 82.92, 109.48°)
OKLaboklab(86.8% -0.0845 0.1693)
OKLCHoklch(86.8% 0.189 116.5)
XYZxyz(52.8107, 67.5470, 12.5409)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE22B #402BE2
analogous
#E29B2B #CDE22B #72E22B
triadic
#CDE22B #2BCDE2 #E22BCD
tetradic
#CDE22B #2BE29B #402BE2 #E22B72
square
#CDE22B #2BE29B #402BE2 #E22B72
split-complementary
#CDE22B #2B72E2 #9B2BE2
monochromatic
#748112 #A5B719 #CDE22B #DAE961 #E6F197

Accessibility & contrast

On white

1.45
#CDE22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#CDE22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE22B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE22B#FFFFFF#000000##000000
##CDE22B1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F0D83E
Tritanopia (blue-blind)
#DAD5C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cde22b;
/* rgb */ color: rgb(205, 226, 43);
/* oklch */ color: oklch(86.8% 0.189 116.5);
Tailwind
colors: {
  custom: {
    50: '#e1eb76',
    500: '#cde22b',
    950: '#000000',
  },
}
SCSS
$custom: #cde22b;
$custom-light: #e1eb76;
$custom-dark: #000000;
JSON
{
  "hex": "#cde22b",
  "rgb": {
    "r": 205,
    "g": 226,
    "b": 43
  },
  "hsl": {
    "h": 66.885,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.86797,
    "c": 0.18927,
    "h": 116.5
  },
  "luminance": 0.67546
}

Semantic roles & 50–950 ramp

primary
#CDE22B
secondary
#342A88
accent
#35F34B
background
#FEFEFB
surface
#FDFDF2
border
#D5D5CC
text
#16160A
muted
#84847D

Preview Lab

Preview with #CDE22B

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

Preview Lab → · Contrast checker → · Palette generator →

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