#D3C94E#D3C94E

#D3C94E 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#D3C94E
RGBrgb(211, 201, 78)
HSLhsl(55, 60%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 4.7%, 63%, 17.3%)
CIE-LABlab(79.71, -11.29, 60.68)
CIE-LCHlch(79.71, 61.72, 100.54°)
OKLaboklab(82.12% -0.0361 0.1379)
OKLCHoklch(82.12% 0.143 104.7)
XYZxyz(49.1276, 56.1740, 15.4611)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C94E #4E58D3
analogous
#D3874E #D3C94E #9BD34E
triadic
#D3C94E #4ED3C9 #C94ED3
tetradic
#D3C94E #4ED387 #4E58D3 #D34E9B
square
#D3C94E #4ED387 #4E58D3 #D34E9B
split-complementary
#D3C94E #4E9BD3 #874ED3
monochromatic
#857E21 #B6AC2D #D3C94E #DFD87F #EBE7B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C94E#FFFFFF#000000##000000
##D3C94E1.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)
#DAC23F
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#E2BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3c94e;
/* rgb */ color: rgb(211, 201, 78);
/* oklch */ color: oklch(82.1% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#e4d985',
    500: '#d3c94e',
    950: '#000000',
  },
}
SCSS
$custom: #d3c94e;
$custom-light: #e4d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c94e",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 55.489,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82123,
    "c": 0.14253,
    "h": 104.7
  },
  "luminance": 0.56172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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