#CDE162#CDE162

#CDE162 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.0% C 0.153 H 117.2°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#CDE162
RGBrgb(205, 225, 98)
HSLhsl(69, 68%, 63%)
HSVhsv(69, 56%, 88%)
CMYKcmyk(8.9%, 0%, 56.4%, 11.8%)
CIE-LABlab(85.86, -24.16, 58.69)
CIE-LCHlch(85.86, 63.47, 112.38°)
OKLaboklab(86.98% -0.07 0.1363)
OKLCHoklch(86.98% 0.153 117.2)
XYZxyz(54.3075, 67.7120, 21.7617)
Luminance0.6771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE162 #7662E1
analogous
#E1B562 #CDE162 #8DE162
triadic
#CDE162 #62CDE1 #E162CD
tetradic
#CDE162 #62E1B5 #7662E1 #E1628D
square
#CDE162 #62E1B5 #7662E1 #E1628D
split-complementary
#CDE162 #628DE1 #B562E1
monochromatic
#93A820 #BDD72F #CDE162 #DDEB95 #EEF5C9

Accessibility & contrast

On white

1.44
#CDE162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#CDE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE162
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE162#FFFFFF#000000##000000
##CDE1621.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD655
Deuteranopia (green-blind)
#EDD86A
Tritanopia (blue-blind)
#D8D6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cde162;
/* rgb */ color: rgb(205, 225, 98);
/* oklch */ color: oklch(87.0% 0.153 117.2);
Tailwind
colors: {
  custom: {
    50: '#dfea93',
    500: '#cde162',
    950: '#000000',
  },
}
SCSS
$custom: #cde162;
$custom-light: #dfea93;
$custom-dark: #000000;
JSON
{
  "hex": "#cde162",
  "rgb": {
    "r": 205,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 69.449,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86977,
    "c": 0.15326,
    "h": 117.2
  },
  "luminance": 0.67711
}

Semantic roles & 50–950 ramp

primary
#CDE162
secondary
#4E3DAB
accent
#16D033
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CDE162

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

Preview Lab → · Contrast checker → · Palette generator →

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