#D3C94B#D3C94B

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

Color values

HEX#D3C94B
RGBrgb(211, 201, 75)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 64%, 83%)
CMYKcmyk(0%, 4.7%, 64.5%, 17.3%)
CIE-LABlab(79.69, -11.47, 61.90)
CIE-LCHlch(79.69, 62.95, 100.50°)
OKLaboklab(82.1% -0.0369 0.14)
OKLCHoklch(82.1% 0.145 104.8)
XYZxyz(49.0225, 56.1320, 14.9075)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C94B #4B55D3
analogous
#D3854B #D3C94B #99D34B
triadic
#D3C94B #4BD3C9 #C94BD3
tetradic
#D3C94B #4BD385 #4B55D3 #D34B99
square
#D3C94B #4BD385 #4B55D3 #D34B99
split-complementary
#D3C94B #4B99D3 #854BD3
monochromatic
#837C20 #B5AB2C #D3C94B #DFD87C #EBE7AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C94B#FFFFFF#000000##000000
##D3C94B1.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)
#DAC23B
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#E2BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c94b;
/* rgb */ color: rgb(211, 201, 75);
/* oklch */ color: oklch(82.1% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d983',
    500: '#d3c94b',
    950: '#000000',
  },
}
SCSS
$custom: #d3c94b;
$custom-light: #e4d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c94b",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 55.588,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82096,
    "c": 0.1448,
    "h": 104.8
  },
  "luminance": 0.5613
}

Semantic roles & 50–950 ramp

primary
#D3C94B
secondary
#383E8A
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C94B

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

Preview Lab → · Contrast checker → · Palette generator →

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