#CDCA7D#CDCA7D

#CDCA7D is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.099 H 106.4°. Best body text is #000000 at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#CDCA7D
RGBrgb(205, 202, 125)
HSLhsl(58, 44%, 65%)
HSVhsv(58, 39%, 80%)
CMYKcmyk(0%, 1.5%, 39%, 19.6%)
CIE-LABlab(80.01, -10.22, 38.80)
CIE-LCHlch(80.01, 40.12, 104.75°)
OKLaboklab(82.41% -0.0279 0.0946)
OKLCHoklch(82.41% 0.099 106.4)
XYZxyz(49.9998, 56.7020, 27.7087)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA7D #7D80CD
analogous
#CDA27D #CDCA7D #A8CD7D
triadic
#CDCA7D #7DCDCA #CA7DCD
tetradic
#CDCA7D #7DCDA2 #7D80CD #CD7DA8
square
#CDCA7D #7DCDA2 #7D80CD #CD7DA8
split-complementary
#CDCA7D #7DA8CD #A27DCD
monochromatic
#96923A #BCB851 #CDCA7D #DEDCA9 #EFEED5

Accessibility & contrast

On white

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

On black

12.34
#CDCA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA7D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA7D#FFFFFF#000000##000000
##CDCA7D1.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C477
Deuteranopia (green-blind)
#D8C880
Tritanopia (blue-blind)
#D8C1B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca7d;
/* rgb */ color: rgb(205, 202, 125);
/* oklch */ color: oklch(82.4% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#dddaa4',
    500: '#cdca7d',
    950: '#000000',
  },
}
SCSS
$custom: #cdca7d;
$custom-light: #dddaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca7d",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 57.75,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82411,
    "c": 0.09868,
    "h": 106.4
  },
  "luminance": 0.56701
}

Semantic roles & 50–950 ramp

primary
#CDCA7D
secondary
#52559C
accent
#33B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDCA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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