#CDC180#CDC180

#CDC180 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.085 H 99.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CDC180
RGBrgb(205, 193, 128)
HSLhsl(51, 44%, 65%)
HSVhsv(51, 38%, 80%)
CMYKcmyk(0%, 5.9%, 37.6%, 19.6%)
CIE-LABlab(77.69, -5.25, 34.27)
CIE-LCHlch(77.69, 34.67, 98.70°)
OKLaboklab(80.58% -0.0134 0.0844)
OKLCHoklch(80.58% 0.085 99)
XYZxyz(48.1439, 52.6789, 28.0499)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC180 #808CCD
analogous
#CD9A80 #CDC180 #B3CD80
triadic
#CDC180 #80CDC1 #C180CD
tetradic
#CDC180 #80CD9A #808CCD #CD80B3
square
#CDC180 #80CD9A #808CCD #CD80B3
split-complementary
#CDC180 #80B3CD #9A80CD
monochromatic
#97893B #BCAC54 #CDC180 #DED6AC #F0ECD8

Accessibility & contrast

On white

1.82
#CDC180 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CDC180 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC180
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC180#FFFFFF#000000##000000
##CDC1801.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7B
Deuteranopia (green-blind)
#D0C282
Tritanopia (blue-blind)
#D8B8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc180;
/* rgb */ color: rgb(205, 193, 128);
/* oklch */ color: oklch(80.6% 0.085 99.0);
Tailwind
colors: {
  custom: {
    50: '#ddd3a5',
    500: '#cdc180',
    950: '#000000',
  },
}
SCSS
$custom: #cdc180;
$custom-light: #ddd3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc180",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 128
  },
  "hsl": {
    "h": 50.649,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80582,
    "c": 0.08544,
    "h": 99
  },
  "luminance": 0.52678
}

Semantic roles & 50–950 ramp

primary
#CDC180
secondary
#545F9D
accent
#44B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC180

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

Preview Lab → · Contrast checker → · Palette generator →

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