#CDCB82#CDCB82

#CDCB82 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.094 H 106.9°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCB82
RGBrgb(205, 203, 130)
HSLhsl(58, 43%, 66%)
HSVhsv(58, 37%, 80%)
CMYKcmyk(0%, 1%, 36.6%, 19.6%)
CIE-LABlab(80.35, -10.17, 36.69)
CIE-LCHlch(80.35, 38.07, 105.49°)
OKLaboklab(82.7% -0.0274 0.09)
OKLCHoklch(82.7% 0.094 106.9)
XYZxyz(50.5627, 57.3038, 29.5119)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCB82 #8284CD
analogous
#CDA582 #CDCB82 #A9CD82
triadic
#CDCB82 #82CDCB #CB82CD
tetradic
#CDCB82 #82CDA5 #8284CD #CD82A9
square
#CDCB82 #82CDA5 #8284CD #CD82A9
split-complementary
#CDCB82 #82A9CD #A582CD
monochromatic
#98953D #BCB956 #CDCB82 #DEDDAE #F0EFD9

Accessibility & contrast

On white

1.69
#CDCB82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CDCB82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCB82
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCB82#FFFFFF#000000##000000
##CDCB821.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C67D
Deuteranopia (green-blind)
#D8C985
Tritanopia (blue-blind)
#D7C2B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcb82;
/* rgb */ color: rgb(205, 203, 130);
/* oklch */ color: oklch(82.7% 0.094 106.9);
Tailwind
colors: {
  custom: {
    50: '#dddaa7',
    500: '#cdcb82',
    950: '#000000',
  },
}
SCSS
$custom: #cdcb82;
$custom-light: #dddaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcb82",
  "rgb": {
    "r": 205,
    "g": 203,
    "b": 130
  },
  "hsl": {
    "h": 58.4,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82704,
    "c": 0.09413,
    "h": 106.9
  },
  "luminance": 0.57303
}

Semantic roles & 50–950 ramp

primary
#CDCB82
secondary
#55579E
accent
#33B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCB82

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

Preview Lab → · Contrast checker → · Palette generator →

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