#D3C74F#D3C74F

#D3C74F is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.140 H 103.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D3C74F
RGBrgb(211, 199, 79)
HSLhsl(55, 60%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 5.7%, 62.6%, 17.3%)
CIE-LABlab(79.19, -10.21, 59.70)
CIE-LCHlch(79.19, 60.57, 99.71°)
OKLaboklab(81.71% -0.0329 0.136)
OKLCHoklch(81.71% 0.14 103.6)
XYZxyz(48.7005, 55.2621, 15.4970)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C74F #4F5BD3
analogous
#D3854F #D3C74F #9DD34F
triadic
#D3C74F #4FD3C7 #C74FD3
tetradic
#D3C74F #4FD385 #4F5BD3 #D34F9D
square
#D3C74F #4FD385 #4F5BD3 #D34F9D
split-complementary
#D3C74F #4F9DD3 #854FD3
monochromatic
#867D22 #B7AB2E #D3C74F #DFD780 #EBE6B1

Accessibility & contrast

On white

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

On black

12.05
#D3C74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C74F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C74F#FFFFFF#000000##000000
##D3C74F1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C141
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#E2BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c74f;
/* rgb */ color: rgb(211, 199, 79);
/* oklch */ color: oklch(81.7% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e4d786',
    500: '#d3c74f',
    950: '#000000',
  },
}
SCSS
$custom: #d3c74f;
$custom-light: #e4d786;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c74f",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 54.545,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81711,
    "c": 0.13989,
    "h": 103.6
  },
  "luminance": 0.5526
}

Semantic roles & 50–950 ramp

primary
#D3C74F
secondary
#39418D
accent
#53E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C74F

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

Preview Lab → · Contrast checker → · Palette generator →

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