#D3C94A#D3C94A

#D3C94A is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.146 H 104.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D3C94A
RGBrgb(211, 201, 74)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 65%, 83%)
CMYKcmyk(0%, 4.7%, 64.9%, 17.3%)
CIE-LABlab(79.68, -11.53, 62.30)
CIE-LCHlch(79.68, 63.36, 100.49°)
OKLaboklab(82.09% -0.0372 0.1407)
OKLCHoklch(82.09% 0.146 104.8)
XYZxyz(48.9885, 56.1184, 14.7287)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C94A #4A54D3
analogous
#D3844A #D3C94A #99D34A
triadic
#D3C94A #4AD3C9 #C94AD3
tetradic
#D3C94A #4AD384 #4A54D3 #D34A99
square
#D3C94A #4AD384 #4A54D3 #D34A99
split-complementary
#D3C94A #4A99D3 #844AD3
monochromatic
#837C20 #B4AA2C #D3C94A #DFD87B #EBE6AC

Accessibility & contrast

On white

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

On black

12.22
#D3C94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C94A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C94A#FFFFFF#000000##000000
##D3C94A1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC239
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#E2BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c94a;
/* rgb */ color: rgb(211, 201, 74);
/* oklch */ color: oklch(82.1% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d983',
    500: '#d3c94a',
    950: '#000000',
  },
}
SCSS
$custom: #d3c94a;
$custom-light: #e4d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c94a",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 55.62,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82087,
    "c": 0.14555,
    "h": 104.8
  },
  "luminance": 0.56117
}

Semantic roles & 50–950 ramp

primary
#D3C94A
secondary
#373D8A
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C94A

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

Preview Lab → · Contrast checker → · Palette generator →

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