#D5CA74#D5CA74

#D5CA74 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.108 H 102.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D5CA74
RGBrgb(213, 202, 116)
HSLhsl(53, 54%, 65%)
HSVhsv(53, 46%, 84%)
CMYKcmyk(0%, 5.2%, 45.5%, 16.5%)
CIE-LABlab(80.54, -7.95, 44.11)
CIE-LCHlch(80.54, 44.82, 100.21°)
OKLaboklab(82.95% -0.0226 0.106)
OKLCHoklch(82.95% 0.108 102)
XYZxyz(51.7147, 57.6497, 24.9230)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA74 #747FD5
analogous
#D59A74 #D5CA74 #B0D574
triadic
#D5CA74 #74D5CA #CA74D5
tetradic
#D5CA74 #74D59A #747FD5 #D574B0
square
#D5CA74 #74D59A #747FD5 #D574B0
split-complementary
#D5CA74 #74B0D5 #9A74D5
monochromatic
#9F9230 #C7B845 #D5CA74 #E3DCA3 #F1EED2

Accessibility & contrast

On white

1.68
#D5CA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D5CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA74
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA74#FFFFFF#000000##000000
##D5CA741.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#DCCA78
Tritanopia (blue-blind)
#E2BFB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5ca74;
/* rgb */ color: rgb(213, 202, 116);
/* oklch */ color: oklch(83.0% 0.108 102.0);
Tailwind
colors: {
  custom: {
    50: '#e4da9d',
    500: '#d5ca74',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca74;
$custom-light: #e4da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca74",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 53.196,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82952,
    "c": 0.10839,
    "h": 102
  },
  "luminance": 0.57648
}

Semantic roles & 50–950 ramp

primary
#D5CA74
secondary
#4A54A3
accent
#36C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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