#CDC182#CDC182

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

Color values

HEX#CDC182
RGBrgb(205, 193, 130)
HSLhsl(50, 43%, 66%)
HSVhsv(50, 37%, 80%)
CMYKcmyk(0%, 5.9%, 36.6%, 19.6%)
CIE-LABlab(77.72, -5.01, 33.27)
CIE-LCHlch(77.72, 33.65, 98.57°)
OKLaboklab(80.62% -0.0126 0.0822)
OKLCHoklch(80.62% 0.083 98.7)
XYZxyz(48.2768, 52.7321, 28.7500)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC182 #828ECD
analogous
#CD9B82 #CDC182 #B3CD82
triadic
#CDC182 #82CDC1 #C182CD
tetradic
#CDC182 #82CD9B #828ECD #CD82B3
square
#CDC182 #82CD9B #828ECD #CD82B3
split-complementary
#CDC182 #82B3CD #9B82CD
monochromatic
#98893D #BCAB56 #CDC182 #DED7AE #F0ECD9

Accessibility & contrast

On white

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

On black

11.55
#CDC182 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC182
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC182#FFFFFF#000000##000000
##CDC1821.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc182;
/* rgb */ color: rgb(205, 193, 130);
/* oklch */ color: oklch(80.6% 0.083 98.7);
Tailwind
colors: {
  custom: {
    50: '#ddd3a7',
    500: '#cdc182',
    950: '#000000',
  },
}
SCSS
$custom: #cdc182;
$custom-light: #ddd3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc182",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 130
  },
  "hsl": {
    "h": 50.4,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80617,
    "c": 0.08311,
    "h": 98.7
  },
  "luminance": 0.52731
}

Semantic roles & 50–950 ramp

primary
#CDC182
secondary
#55619E
accent
#45B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC182

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

Preview Lab → · Contrast checker → · Palette generator →

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