#D3C94F#D3C94F

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

Color values

HEX#D3C94F
RGBrgb(211, 201, 79)
HSLhsl(55, 60%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 4.7%, 62.6%, 17.3%)
CIE-LABlab(79.72, -11.23, 60.27)
CIE-LCHlch(79.72, 61.30, 100.55°)
OKLaboklab(82.13% -0.0358 0.1372)
OKLCHoklch(82.13% 0.142 104.6)
XYZxyz(49.1637, 56.1884, 15.6514)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C94F #4F59D3
analogous
#D3874F #D3C94F #9BD34F
triadic
#D3C94F #4FD3C9 #C94FD3
tetradic
#D3C94F #4FD387 #4F59D3 #D34F9B
square
#D3C94F #4FD387 #4F59D3 #D34F9B
split-complementary
#D3C94F #4F9BD3 #874FD3
monochromatic
#867E22 #B7AD2E #D3C94F #DFD880 #EBE7B1

Accessibility & contrast

On white

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

On black

12.24
#D3C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C94F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C94F#FFFFFF#000000##000000
##D3C94F1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3c94f;
/* rgb */ color: rgb(211, 201, 79);
/* oklch */ color: oklch(82.1% 0.142 104.6);
Tailwind
colors: {
  custom: {
    50: '#e4d986',
    500: '#d3c94f',
    950: '#000000',
  },
}
SCSS
$custom: #d3c94f;
$custom-light: #e4d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c94f",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 55.455,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82132,
    "c": 0.14176,
    "h": 104.6
  },
  "luminance": 0.56187
}

Semantic roles & 50–950 ramp

primary
#D3C94F
secondary
#39408D
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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