#D3C74E#D3C74E

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

Color values

HEX#D3C74E
RGBrgb(211, 199, 78)
HSLhsl(55, 60%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 5.7%, 63%, 17.3%)
CIE-LABlab(79.18, -10.27, 60.12)
CIE-LCHlch(79.18, 60.99, 99.70°)
OKLaboklab(81.7% -0.0332 0.1367)
OKLCHoklch(81.7% 0.141 103.7)
XYZxyz(48.6644, 55.2476, 15.3067)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C74E #4E5AD3
analogous
#D3844E #D3C74E #9DD34E
triadic
#D3C74E #4ED3C7 #C74ED3
tetradic
#D3C74E #4ED384 #4E5AD3 #D34E9D
square
#D3C74E #4ED384 #4E5AD3 #D34E9D
split-complementary
#D3C74E #4E9DD3 #844ED3
monochromatic
#857C21 #B6AA2D #D3C74E #DFD77F #EBE6B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C74E#FFFFFF#000000##000000
##D3C74E1.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)
#D8C13F
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#E2BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c74e;
/* rgb */ color: rgb(211, 199, 78);
/* oklch */ color: oklch(81.7% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#e4d785',
    500: '#d3c74e',
    950: '#000000',
  },
}
SCSS
$custom: #d3c74e;
$custom-light: #e4d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c74e",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 54.586,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81702,
    "c": 0.14066,
    "h": 103.7
  },
  "luminance": 0.55246
}

Semantic roles & 50–950 ramp

primary
#D3C74E
secondary
#39418C
accent
#53E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C74E

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

Preview Lab → · Contrast checker → · Palette generator →

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