#CDC062#CDC062

#CDC062 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.117 H 101.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CDC062
RGBrgb(205, 192, 98)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 52%, 80%)
CMYKcmyk(0%, 6.3%, 52.2%, 19.6%)
CIE-LABlab(77.02, -7.72, 48.48)
CIE-LCHlch(77.02, 49.09, 99.04°)
OKLaboklab(79.92% -0.0233 0.1143)
OKLCHoklch(79.92% 0.117 101.5)
XYZxyz(46.2325, 51.5619, 19.0700)
Luminance0.5156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC062 #626FCD
analogous
#CD8B62 #CDC062 #A5CD62
triadic
#CDC062 #62CDC0 #C062CD
tetradic
#CDC062 #62CD8B #626FCD #CD62A5
square
#CDC062 #62CD8B #626FCD #CD62A5
split-complementary
#CDC062 #62A5CD #8B62CD
monochromatic
#897E2C #B7A83A #CDC062 #DCD390 #EBE5BF

Accessibility & contrast

On white

1.86
#CDC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#CDC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC062
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC062#FFFFFF#000000##000000
##CDC0621.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D3C166
Tritanopia (blue-blind)
#DAB5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc062;
/* rgb */ color: rgb(205, 192, 98);
/* oklch */ color: oklch(79.9% 0.117 101.5);
Tailwind
colors: {
  custom: {
    50: '#ded291',
    500: '#cdc062',
    950: '#000000',
  },
}
SCSS
$custom: #cdc062;
$custom-light: #ded291;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc062",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 52.71,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79922,
    "c": 0.11664,
    "h": 101.5
  },
  "luminance": 0.5156
}

Semantic roles & 50–950 ramp

primary
#CDC062
secondary
#434D90
accent
#5EDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC062

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

Preview Lab → · Contrast checker → · Palette generator →

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