#D3CA74#D3CA74

#D3CA74 is a very light, moderate yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.108 H 103.2°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D3CA74
RGBrgb(211, 202, 116)
HSLhsl(54, 52%, 64%)
HSVhsv(54, 45%, 83%)
CMYKcmyk(0%, 4.3%, 45%, 17.3%)
CIE-LABlab(80.38, -8.75, 43.87)
CIE-LCHlch(80.38, 44.73, 101.28°)
OKLaboklab(82.78% -0.0248 0.1055)
OKLCHoklch(82.78% 0.108 103.2)
XYZxyz(51.1381, 57.3524, 24.8959)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA74 #747DD3
analogous
#D39B74 #D3CA74 #ADD374
triadic
#D3CA74 #74D3CA #CA74D3
tetradic
#D3CA74 #74D39B #747DD3 #D374AD
square
#D3CA74 #74D39B #747DD3 #D374AD
split-complementary
#D3CA74 #74ADD3 #9B74D3
monochromatic
#9B9131 #C4B846 #D3CA74 #E2DCA2 #F0EDD1

Accessibility & contrast

On white

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

On black

12.47
#D3CA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA74
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA74#FFFFFF#000000##000000
##D3CA741.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#DBCA78
Tritanopia (blue-blind)
#DFC0B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3ca74;
/* rgb */ color: rgb(211, 202, 116);
/* oklch */ color: oklch(82.8% 0.108 103.2);
Tailwind
colors: {
  custom: {
    50: '#e2da9d',
    500: '#d3ca74',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca74;
$custom-light: #e2da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca74",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 116
  },
  "hsl": {
    "h": 54.316,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8278,
    "c": 0.10836,
    "h": 103.2
  },
  "luminance": 0.57351
}

Semantic roles & 50–950 ramp

primary
#D3CA74
secondary
#4B53A0
accent
#35BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D3CA74

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

Preview Lab → · Contrast checker → · Palette generator →

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