#D3C84F#D3C84F

#D3C84F is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.9% C 0.141 H 104.1°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D3C84F
RGBrgb(211, 200, 79)
HSLhsl(55, 60%, 57%)
HSVhsv(55, 63%, 83%)
CMYKcmyk(0%, 5.2%, 62.6%, 17.3%)
CIE-LABlab(79.46, -10.72, 59.99)
CIE-LCHlch(79.46, 60.94, 100.13°)
OKLaboklab(81.92% -0.0344 0.1366)
OKLCHoklch(81.92% 0.141 104.1)
XYZxyz(48.9313, 55.7237, 15.5739)
Luminance0.5572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C84F #4F5AD3
analogous
#D3864F #D3C84F #9CD34F
triadic
#D3C84F #4FD3C8 #C84FD3
tetradic
#D3C84F #4FD386 #4F5AD3 #D34F9C
square
#D3C84F #4FD386 #4F5AD3 #D34F9C
split-complementary
#D3C84F #4F9CD3 #864FD3
monochromatic
#867E22 #B7AC2E #D3C84F #DFD780 #EBE7B1

Accessibility & contrast

On white

1.73
#D3C84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#D3C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C84F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C84F#FFFFFF#000000##000000
##D3C84F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DCC856
Tritanopia (blue-blind)
#E2BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c84f;
/* rgb */ color: rgb(211, 200, 79);
/* oklch */ color: oklch(81.9% 0.141 104.1);
Tailwind
colors: {
  custom: {
    50: '#e4d886',
    500: '#d3c84f',
    950: '#000000',
  },
}
SCSS
$custom: #d3c84f;
$custom-light: #e4d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c84f",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 55,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81921,
    "c": 0.14082,
    "h": 104.1
  },
  "luminance": 0.55722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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