#CDCA73#CDCA73

#CDCA73 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.110 H 106.8°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CDCA73
RGBrgb(205, 202, 115)
HSLhsl(58, 47%, 63%)
HSVhsv(58, 44%, 80%)
CMYKcmyk(0%, 1.5%, 43.9%, 19.6%)
CIE-LABlab(79.87, -11.27, 43.63)
CIE-LCHlch(79.87, 45.07, 104.48°)
OKLaboklab(82.26% -0.0318 0.105)
OKLCHoklch(82.26% 0.11 106.8)
XYZxyz(49.3928, 56.4592, 24.5121)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA73 #7376CD
analogous
#CD9D73 #CDCA73 #A3CD73
triadic
#CDCA73 #73CDCA #CA73CD
tetradic
#CDCA73 #73CD9D #7376CD #CD73A3
square
#CDCA73 #73CD9D #7376CD #CD73A3
split-complementary
#CDCA73 #73A3CD #9D73CD
monochromatic
#928E34 #BDB946 #CDCA73 #DDDBA0 #EDECCD

Accessibility & contrast

On white

1.71
#CDCA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CDCA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA73
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA73#FFFFFF#000000##000000
##CDCA731.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46C
Deuteranopia (green-blind)
#D9C877
Tritanopia (blue-blind)
#D9C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdca73;
/* rgb */ color: rgb(205, 202, 115);
/* oklch */ color: oklch(82.3% 0.110 106.8);
Tailwind
colors: {
  custom: {
    50: '#deda9d',
    500: '#cdca73',
    950: '#000000',
  },
}
SCSS
$custom: #cdca73;
$custom-light: #deda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca73",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 115
  },
  "hsl": {
    "h": 58,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82258,
    "c": 0.10968,
    "h": 106.8
  },
  "luminance": 0.56458
}

Semantic roles & 50–950 ramp

primary
#CDCA73
secondary
#4C4F98
accent
#30BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDCA73

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

Preview Lab → · Contrast checker → · Palette generator →

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