#D3C84D#D3C84D

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

Color values

HEX#D3C84D
RGBrgb(211, 200, 77)
HSLhsl(55, 60%, 56%)
HSVhsv(55, 64%, 83%)
CMYKcmyk(0%, 5.2%, 63.5%, 17.3%)
CIE-LABlab(79.44, -10.84, 60.81)
CIE-LCHlch(79.44, 61.77, 100.11°)
OKLaboklab(81.9% -0.0349 0.138)
OKLCHoklch(81.9% 0.142 104.2)
XYZxyz(48.8596, 55.6951, 15.1963)
Luminance0.5569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C84D #4D58D3
analogous
#D3854D #D3C84D #9BD34D
triadic
#D3C84D #4DD3C8 #C84DD3
tetradic
#D3C84D #4DD385 #4D58D3 #D34D9B
square
#D3C84D #4DD385 #4D58D3 #D34D9B
split-complementary
#D3C84D #4D9BD3 #854DD3
monochromatic
#857D21 #B6AB2D #D3C84D #DFD77E #EBE6AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C84D#FFFFFF#000000##000000
##D3C84D1.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)
#D9C13E
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#E2BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c84d;
/* rgb */ color: rgb(211, 200, 77);
/* oklch */ color: oklch(81.9% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#e4d884',
    500: '#d3c84d',
    950: '#000000',
  },
}
SCSS
$custom: #d3c84d;
$custom-light: #e4d884;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c84d",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 55.075,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81903,
    "c": 0.14236,
    "h": 104.2
  },
  "luminance": 0.55693
}

Semantic roles & 50–950 ramp

primary
#D3C84D
secondary
#393F8C
accent
#51E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C84D

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

Preview Lab → · Contrast checker → · Palette generator →

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