#CDCA82#CDCA82

#CDCA82 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.093 H 106.2°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CDCA82
RGBrgb(205, 202, 130)
HSLhsl(58, 43%, 66%)
HSVhsv(58, 37%, 80%)
CMYKcmyk(0%, 1.5%, 36.6%, 19.6%)
CIE-LABlab(80.09, -9.66, 36.35)
CIE-LCHlch(80.09, 37.61, 104.88°)
OKLaboklab(82.49% -0.026 0.0893)
OKLCHoklch(82.49% 0.093 106.2)
XYZxyz(50.3273, 56.8330, 29.4335)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA82 #8285CD
analogous
#CDA482 #CDCA82 #AACD82
triadic
#CDCA82 #82CDCA #CA82CD
tetradic
#CDCA82 #82CDA4 #8285CD #CD82AA
square
#CDCA82 #82CDA4 #8285CD #CD82AA
split-complementary
#CDCA82 #82AACD #A482CD
monochromatic
#98943D #BCB756 #CDCA82 #DEDDAE #F0EFD9

Accessibility & contrast

On white

1.70
#CDCA82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CDCA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA82
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA82#FFFFFF#000000##000000
##CDCA821.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C57D
Deuteranopia (green-blind)
#D7C885
Tritanopia (blue-blind)
#D7C1B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdca82;
/* rgb */ color: rgb(205, 202, 130);
/* oklch */ color: oklch(82.5% 0.093 106.2);
Tailwind
colors: {
  custom: {
    50: '#dddaa7',
    500: '#cdca82',
    950: '#000000',
  },
}
SCSS
$custom: #cdca82;
$custom-light: #dddaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca82",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 130
  },
  "hsl": {
    "h": 57.6,
    "s": 42.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82494,
    "c": 0.09296,
    "h": 106.2
  },
  "luminance": 0.56832
}

Semantic roles & 50–950 ramp

primary
#CDCA82
secondary
#55589E
accent
#35B630
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA82

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

Preview Lab → · Contrast checker → · Palette generator →

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