#CDC482#CDC482

#CDC482 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.086 H 101.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CDC482
RGBrgb(205, 196, 130)
HSLhsl(53, 43%, 66%)
HSVhsv(53, 37%, 80%)
CMYKcmyk(0%, 4.4%, 36.6%, 19.6%)
CIE-LABlab(78.50, -6.57, 34.30)
CIE-LCHlch(78.50, 34.92, 100.84°)
OKLaboklab(81.24% -0.0171 0.0845)
OKLCHoklch(81.24% 0.086 101.4)
XYZxyz(48.9468, 54.0720, 28.9733)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC482 #828BCD
analogous
#CD9E82 #CDC482 #B0CD82
triadic
#CDC482 #82CDC4 #C482CD
tetradic
#CDC482 #82CD9E #828BCD #CD82B0
square
#CDC482 #82CD9E #828BCD #CD82B0
split-complementary
#CDC482 #82B0CD #9E82CD
monochromatic
#988D3D #BCAF56 #CDC482 #DED9AE #F0EDD9

Accessibility & contrast

On white

1.78
#CDC482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CDC482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC482
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC482#FFFFFF#000000##000000
##CDC4821.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07D
Deuteranopia (green-blind)
#D3C485
Tritanopia (blue-blind)
#D8BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc482;
/* rgb */ color: rgb(205, 196, 130);
/* oklch */ color: oklch(81.2% 0.086 101.4);
Tailwind
colors: {
  custom: {
    50: '#ddd5a7',
    500: '#cdc482',
    950: '#000000',
  },
}
SCSS
$custom: #cdc482;
$custom-light: #ddd5a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc482",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 130
  },
  "hsl": {
    "h": 52.8,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8124,
    "c": 0.08624,
    "h": 101.4
  },
  "luminance": 0.54071
}

Semantic roles & 50–950 ramp

primary
#CDC482
secondary
#555E9E
accent
#40B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC482

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

Preview Lab → · Contrast checker → · Palette generator →

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