#CDD162#CDD162

#CDD162 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.135 H 110.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CDD162
RGBrgb(205, 209, 98)
HSLhsl(62, 55%, 60%)
HSVhsv(62, 53%, 82%)
CMYKcmyk(1.9%, 0%, 53.1%, 18%)
CIE-LABlab(81.55, -16.34, 53.76)
CIE-LCHlch(81.55, 56.19, 106.90°)
OKLaboklab(83.52% -0.0479 0.1257)
OKLCHoklch(83.52% 0.135 110.9)
XYZxyz(50.1831, 59.4630, 20.3869)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD162 #6662D1
analogous
#D19D62 #CDD162 #96D162
triadic
#CDD162 #62CDD1 #D162CD
tetradic
#CDD162 #62D19D #6662D1 #D16296
square
#CDD162 #62D19D #6662D1 #D16296
split-complementary
#CDD162 #6296D1 #9D62D1
monochromatic
#8B8F2A #B9BE38 #CDD162 #DCDF91 #EBEDC1

Accessibility & contrast

On white

1.63
#CDD162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#CDD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD162
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD162#FFFFFF#000000##000000
##CDD1621.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#E0CC68
Tritanopia (blue-blind)
#D9C6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd162;
/* rgb */ color: rgb(205, 209, 98);
/* oklch */ color: oklch(83.5% 0.135 110.9);
Tailwind
colors: {
  custom: {
    50: '#dede92',
    500: '#cdd162',
    950: '#000000',
  },
}
SCSS
$custom: #cdd162;
$custom-light: #dede92;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd162",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 62.162,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83524,
    "c": 0.13456,
    "h": 110.9
  },
  "luminance": 0.59462
}

Semantic roles & 50–950 ramp

primary
#CDD162
secondary
#454295
accent
#23C229
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD162

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

Preview Lab → · Contrast checker → · Palette generator →

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