#CDC160#CDC160

#CDC160 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.1% C 0.120 H 102.3°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CDC160
RGBrgb(205, 193, 96)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 53%, 80%)
CMYKcmyk(0%, 5.9%, 53.2%, 19.6%)
CIE-LABlab(77.26, -8.40, 49.72)
CIE-LCHlch(77.26, 50.42, 99.59°)
OKLaboklab(80.11% -0.0255 0.1168)
OKLCHoklch(80.11% 0.12 102.3)
XYZxyz(46.3596, 51.9652, 18.6523)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC160 #606CCD
analogous
#CD8B60 #CDC160 #A3CD60
triadic
#CDC160 #60CDC1 #C160CD
tetradic
#CDC160 #60CD8B #606CCD #CD60A3
square
#CDC160 #60CD8B #606CCD #CD60A3
split-complementary
#CDC160 #60A3CD #8B60CD
monochromatic
#887E2B #B6A939 #CDC160 #DCD38F #EAE5BD

Accessibility & contrast

On white

1.84
#CDC160 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CDC160 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC160
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC160#FFFFFF#000000##000000
##CDC1601.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC57
Deuteranopia (green-blind)
#D4C165
Tritanopia (blue-blind)
#DAB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc160;
/* rgb */ color: rgb(205, 193, 96);
/* oklch */ color: oklch(80.1% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#ded390',
    500: '#cdc160',
    950: '#000000',
  },
}
SCSS
$custom: #cdc160;
$custom-light: #ded390;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc160",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 96
  },
  "hsl": {
    "h": 53.394,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80107,
    "c": 0.11954,
    "h": 102.3
  },
  "luminance": 0.51964
}

Semantic roles & 50–950 ramp

primary
#CDC160
secondary
#424B8F
accent
#5CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC160

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

Preview Lab → · Contrast checker → · Palette generator →

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