#D5CD74#D5CD74

#D5CD74 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.111 H 104.0°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D5CD74
RGBrgb(213, 205, 116)
HSLhsl(55, 54%, 65%)
HSVhsv(55, 46%, 84%)
CMYKcmyk(0%, 3.8%, 45.5%, 16.5%)
CIE-LABlab(81.33, -9.48, 45.08)
CIE-LCHlch(81.33, 46.07, 101.87°)
OKLaboklab(83.58% -0.027 0.1082)
OKLCHoklch(83.58% 0.111 104)
XYZxyz(52.4255, 59.0712, 25.1599)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD74 #747CD5
analogous
#D59D74 #D5CD74 #ACD574
triadic
#D5CD74 #74D5CD #CD74D5
tetradic
#D5CD74 #74D59D #747CD5 #D574AC
square
#D5CD74 #74D59D #747CD5 #D574AC
split-complementary
#D5CD74 #74ACD5 #9D74D5
monochromatic
#9F9630 #C7BC45 #D5CD74 #E3DEA3 #F1EFD2

Accessibility & contrast

On white

1.64
#D5CD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D5CD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD74
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD74#FFFFFF#000000##000000
##D5CD741.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76D
Deuteranopia (green-blind)
#DECC78
Tritanopia (blue-blind)
#E2C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd74;
/* rgb */ color: rgb(213, 205, 116);
/* oklch */ color: oklch(83.6% 0.111 104.0);
Tailwind
colors: {
  custom: {
    50: '#e4dc9e',
    500: '#d5cd74',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd74;
$custom-light: #e4dc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd74",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 116
  },
  "hsl": {
    "h": 55.052,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83576,
    "c": 0.11148,
    "h": 104
  },
  "luminance": 0.5907
}

Semantic roles & 50–950 ramp

primary
#D5CD74
secondary
#4A51A3
accent
#31C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CD74

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

Preview Lab → · Contrast checker → · Palette generator →

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