#CDCA7A#CDCA7A

#CDCA7A is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.102 H 106.6°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CDCA7A
RGBrgb(205, 202, 122)
HSLhsl(58, 45%, 64%)
HSVhsv(58, 40%, 80%)
CMYKcmyk(0%, 1.5%, 40.5%, 19.6%)
CIE-LABlab(79.97, -10.54, 40.26)
CIE-LCHlch(79.97, 41.61, 104.67°)
OKLaboklab(82.36% -0.0291 0.0978)
OKLCHoklch(82.36% 0.102 106.6)
XYZxyz(49.8110, 56.6265, 26.7146)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA7A #7A7DCD
analogous
#CDA17A #CDCA7A #A7CD7A
triadic
#CDCA7A #7ACDCA #CA7ACD
tetradic
#CDCA7A #7ACDA1 #7A7DCD #CD7AA7
square
#CDCA7A #7ACDA1 #7A7DCD #CD7AA7
split-complementary
#CDCA7A #7AA7CD #A17ACD
monochromatic
#959138 #BCB84E #CDCA7A #DEDCA6 #EEEDD3

Accessibility & contrast

On white

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

On black

12.33
#CDCA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA7A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA7A#FFFFFF#000000##000000
##CDCA7A1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C474
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#D8C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca7a;
/* rgb */ color: rgb(205, 202, 122);
/* oklch */ color: oklch(82.4% 0.102 106.6);
Tailwind
colors: {
  custom: {
    50: '#dddaa1',
    500: '#cdca7a',
    950: '#000000',
  },
}
SCSS
$custom: #cdca7a;
$custom-light: #dddaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca7a",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 57.831,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82364,
    "c": 0.10204,
    "h": 106.6
  },
  "luminance": 0.56625
}

Semantic roles & 50–950 ramp

primary
#CDCA7A
secondary
#50539B
accent
#32B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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