#D3C94D#D3C94D

#D3C94D is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.143 H 104.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D3C94D
RGBrgb(211, 201, 77)
HSLhsl(56, 60%, 56%)
HSVhsv(56, 64%, 83%)
CMYKcmyk(0%, 4.7%, 63.5%, 17.3%)
CIE-LABlab(79.70, -11.35, 61.09)
CIE-LCHlch(79.70, 62.14, 100.53°)
OKLaboklab(82.11% -0.0364 0.1386)
OKLCHoklch(82.11% 0.143 104.7)
XYZxyz(49.0920, 56.1598, 15.2737)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C94D #4D57D3
analogous
#D3864D #D3C94D #9AD34D
triadic
#D3C94D #4DD3C9 #C94DD3
tetradic
#D3C94D #4DD386 #4D57D3 #D34D9A
square
#D3C94D #4DD386 #4D57D3 #D34D9A
split-complementary
#D3C94D #4D9AD3 #864DD3
monochromatic
#857D21 #B6AC2D #D3C94D #DFD87E #EBE7AF

Accessibility & contrast

On white

1.72
#D3C94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#D3C94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C94D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C94D#FFFFFF#000000##000000
##D3C94D1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23E
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#E2BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3c94d;
/* rgb */ color: rgb(211, 201, 77);
/* oklch */ color: oklch(82.1% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e4d984',
    500: '#d3c94d',
    950: '#000000',
  },
}
SCSS
$custom: #d3c94d;
$custom-light: #e4d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c94d",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 55.522,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82114,
    "c": 0.14329,
    "h": 104.7
  },
  "luminance": 0.56158
}

Semantic roles & 50–950 ramp

primary
#D3C94D
secondary
#393F8C
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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