#CDD562#CDD562

#CDD562 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.4% C 0.139 H 112.6°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#CDD562
RGBrgb(205, 213, 98)
HSLhsl(64, 58%, 61%)
HSVhsv(64, 54%, 84%)
CMYKcmyk(3.8%, 0%, 54%, 16.5%)
CIE-LABlab(82.62, -18.32, 55.00)
CIE-LCHlch(82.62, 57.97, 108.42°)
OKLaboklab(84.38% -0.0535 0.1284)
OKLCHoklch(84.38% 0.139 112.6)
XYZxyz(51.1768, 61.4504, 20.7181)
Luminance0.6145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD562 #6A62D5
analogous
#D5A362 #CDD562 #93D562
triadic
#CDD562 #62CDD5 #D562CD
tetradic
#CDD562 #62D5A3 #6A62D5 #D56293
square
#CDD562 #62D5A3 #6A62D5 #D56293
split-complementary
#CDD562 #6293D5 #A362D5
monochromatic
#8D9528 #BBC535 #CDD562 #DCE292 #ECEFC3

Accessibility & contrast

On white

1.58
#CDD562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#CDD562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD562
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD562#FFFFFF#000000##000000
##CDD5621.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#E3CF68
Tritanopia (blue-blind)
#D9CABC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd562;
/* rgb */ color: rgb(205, 213, 98);
/* oklch */ color: oklch(84.4% 0.139 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee192',
    500: '#cdd562',
    950: '#000000',
  },
}
SCSS
$custom: #cdd562;
$custom-light: #dee192;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd562",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 64.174,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84383,
    "c": 0.13912,
    "h": 112.6
  },
  "luminance": 0.61449
}

Semantic roles & 50–950 ramp

primary
#CDD562
secondary
#47419A
accent
#20C52C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD562

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

Preview Lab → · Contrast checker → · Palette generator →

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