#CDD462#CDD462

#CDD462 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.138 H 112.2°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#CDD462
RGBrgb(205, 212, 98)
HSLhsl(64, 57%, 61%)
HSVhsv(64, 54%, 83%)
CMYKcmyk(3.3%, 0%, 53.8%, 16.9%)
CIE-LABlab(82.35, -17.82, 54.69)
CIE-LCHlch(82.35, 57.52, 108.05°)
OKLaboklab(84.17% -0.0521 0.1277)
OKLCHoklch(84.17% 0.138 112.2)
XYZxyz(50.9260, 60.9489, 20.6345)
Luminance0.6095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD462 #6962D4
analogous
#D4A262 #CDD462 #94D462
triadic
#CDD462 #62CDD4 #D462CD
tetradic
#CDD462 #62D4A2 #6962D4 #D46294
square
#CDD462 #62D4A2 #6962D4 #D46294
split-complementary
#CDD462 #6294D4 #A262D4
monochromatic
#8D9328 #BBC335 #CDD462 #DCE192 #ECEEC2

Accessibility & contrast

On white

1.59
#CDD462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#CDD462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD462
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD462#FFFFFF#000000##000000
##CDD4621.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E2CE68
Tritanopia (blue-blind)
#D9C9BB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd462;
/* rgb */ color: rgb(205, 212, 98);
/* oklch */ color: oklch(84.2% 0.138 112.2);
Tailwind
colors: {
  custom: {
    50: '#dee192',
    500: '#cdd462',
    950: '#000000',
  },
}
SCSS
$custom: #cdd462;
$custom-light: #dee192;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd462",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 63.684,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84168,
    "c": 0.13797,
    "h": 112.2
  },
  "luminance": 0.60948
}

Semantic roles & 50–950 ramp

primary
#CDD462
secondary
#474299
accent
#21C52B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDD462

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

Preview Lab → · Contrast checker → · Palette generator →

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