#D7CA74#D7CA74

#D7CA74 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.108 H 100.8°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D7CA74
RGBrgb(215, 202, 116)
HSLhsl(52, 55%, 65%)
HSVhsv(52, 46%, 84%)
CMYKcmyk(0%, 6%, 46%, 15.7%)
CIE-LABlab(80.71, -7.14, 44.36)
CIE-LCHlch(80.71, 44.93, 99.14°)
OKLaboklab(83.13% -0.0203 0.1065)
OKLCHoklch(83.13% 0.108 100.8)
XYZxyz(52.2986, 57.9508, 24.9503)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA74 #7481D7
analogous
#D79874 #D7CA74 #B3D774
triadic
#D7CA74 #74D7CA #CA74D7
tetradic
#D7CA74 #74D798 #7481D7 #D774B3
square
#D7CA74 #74D798 #7481D7 #D774B3
split-complementary
#D7CA74 #74B3D7 #9874D7
monochromatic
#A2932F #C9B844 #D7CA74 #E5DCA4 #F2EED3

Accessibility & contrast

On white

1.67
#D7CA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D7CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA74
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA74#FFFFFF#000000##000000
##D7CA741.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ca74;
/* rgb */ color: rgb(215, 202, 116);
/* oklch */ color: oklch(83.1% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#e5d99d',
    500: '#d7ca74',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca74;
$custom-light: #e5d99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca74",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 52.121,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83125,
    "c": 0.10846,
    "h": 100.8
  },
  "luminance": 0.57949
}

Semantic roles & 50–950 ramp

primary
#D7CA74
secondary
#4955A6
accent
#38C323
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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