#D3C74C#D3C74C

#D3C74C is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.142 H 103.7°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#D3C74C
RGBrgb(211, 199, 76)
HSLhsl(55, 61%, 56%)
HSVhsv(55, 64%, 83%)
CMYKcmyk(0%, 5.7%, 64%, 17.3%)
CIE-LABlab(79.17, -10.40, 60.94)
CIE-LCHlch(79.17, 61.82, 99.68°)
OKLaboklab(81.68% -0.0338 0.1381)
OKLCHoklch(81.68% 0.142 103.7)
XYZxyz(48.5938, 55.2194, 14.9348)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C74C #4C58D3
analogous
#D3844C #D3C74C #9CD34C
triadic
#D3C74C #4CD3C7 #C74CD3
tetradic
#D3C74C #4CD384 #4C58D3 #D34C9C
square
#D3C74C #4CD384 #4C58D3 #D34C9C
split-complementary
#D3C74C #4C9CD3 #844CD3
monochromatic
#847B20 #B5A92D #D3C74C #DFD67D #EBE6AE

Accessibility & contrast

On white

1.74
#D3C74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#D3C74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C74C
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C74C#FFFFFF#000000##000000
##D3C74C1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13D
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#E2BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c74c;
/* rgb */ color: rgb(211, 199, 76);
/* oklch */ color: oklch(81.7% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e4d784',
    500: '#d3c74c',
    950: '#000000',
  },
}
SCSS
$custom: #d3c74c;
$custom-light: #e4d784;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c74c",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 54.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81684,
    "c": 0.1422,
    "h": 103.7
  },
  "luminance": 0.55218
}

Semantic roles & 50–950 ramp

primary
#D3C74C
secondary
#38408B
accent
#52E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C74C

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

Preview Lab → · Contrast checker → · Palette generator →

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