#CDC462#CDC462

#CDC462 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.121 H 104.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CDC462
RGBrgb(205, 196, 98)
HSLhsl(55, 52%, 59%)
HSVhsv(55, 52%, 80%)
CMYKcmyk(0%, 4.4%, 52.2%, 19.6%)
CIE-LABlab(78.08, -9.77, 49.72)
CIE-LCHlch(78.08, 50.68, 101.12°)
OKLaboklab(80.76% -0.0292 0.117)
OKLCHoklch(80.76% 0.121 104)
XYZxyz(47.1227, 53.3423, 19.3668)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC462 #626BCD
analogous
#CD8F62 #CDC462 #A1CD62
triadic
#CDC462 #62CDC4 #C462CD
tetradic
#CDC462 #62CD8F #626BCD #CD62A1
square
#CDC462 #62CD8F #626BCD #CD62A1
split-complementary
#CDC462 #62A1CD #8F62CD
monochromatic
#89812C #B7AD3A #CDC462 #DCD590 #EBE7BF

Accessibility & contrast

On white

1.80
#CDC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CDC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC462
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC462#FFFFFF#000000##000000
##CDC4621.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D6C367
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc462;
/* rgb */ color: rgb(205, 196, 98);
/* oklch */ color: oklch(80.8% 0.121 104.0);
Tailwind
colors: {
  custom: {
    50: '#ded591',
    500: '#cdc462',
    950: '#000000',
  },
}
SCSS
$custom: #cdc462;
$custom-light: #ded591;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc462",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 54.953,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80763,
    "c": 0.12059,
    "h": 104
  },
  "luminance": 0.53341
}

Semantic roles & 50–950 ramp

primary
#CDC462
secondary
#434A90
accent
#59DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC462

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

Preview Lab → · Contrast checker → · Palette generator →

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