#CDD062#CDD062

#CDD062 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.133 H 110.4°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CDD062
RGBrgb(205, 208, 98)
HSLhsl(62, 54%, 60%)
HSVhsv(62, 53%, 82%)
CMYKcmyk(1.4%, 0%, 52.9%, 18.4%)
CIE-LABlab(81.28, -15.84, 53.45)
CIE-LCHlch(81.28, 55.75, 106.50°)
OKLaboklab(83.31% -0.0465 0.1251)
OKLCHoklch(83.31% 0.133 110.4)
XYZxyz(49.9385, 58.9739, 20.3053)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD062 #6562D0
analogous
#D09C62 #CDD062 #96D062
triadic
#CDD062 #62CDD0 #D062CD
tetradic
#CDD062 #62D09C #6562D0 #D06296
square
#CDD062 #62D09C #6562D0 #D06296
split-complementary
#CDD062 #6296D0 #9C62D0
monochromatic
#8B8D2A #B9BC38 #CDD062 #DCDE91 #EBECC0

Accessibility & contrast

On white

1.64
#CDD062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CDD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD062
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD062#FFFFFF#000000##000000
##CDD0621.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#DFCC68
Tritanopia (blue-blind)
#D9C5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd062;
/* rgb */ color: rgb(205, 208, 98);
/* oklch */ color: oklch(83.3% 0.133 110.4);
Tailwind
colors: {
  custom: {
    50: '#dede92',
    500: '#cdd062',
    950: '#000000',
  },
}
SCSS
$custom: #cdd062;
$custom-light: #dede92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd062",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 61.636,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.8331,
    "c": 0.13343,
    "h": 110.4
  },
  "luminance": 0.58973
}

Semantic roles & 50–950 ramp

primary
#CDD062
secondary
#454394
accent
#4BDD4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD062

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

Preview Lab → · Contrast checker → · Palette generator →

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