#D3C954#D3C954

#D3C954 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.138 H 104.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D3C954
RGBrgb(211, 201, 84)
HSLhsl(55, 59%, 58%)
HSVhsv(55, 60%, 83%)
CMYKcmyk(0%, 4.7%, 60.2%, 17.3%)
CIE-LABlab(79.76, -10.90, 58.17)
CIE-LCHlch(79.76, 59.18, 100.61°)
OKLaboklab(82.18% -0.0343 0.1334)
OKLCHoklch(82.18% 0.138 104.4)
XYZxyz(49.3526, 56.2640, 16.6461)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C954 #545ED3
analogous
#D38A54 #D3C954 #9DD354
triadic
#D3C954 #54D3C9 #C954D3
tetradic
#D3C954 #54D38A #545ED3 #D3549D
square
#D3C954 #54D38A #545ED3 #D3549D
split-complementary
#D3C954 #549DD3 #8A54D3
monochromatic
#898123 #BAAF30 #D3C954 #E0D885 #ECE8B5

Accessibility & contrast

On white

1.71
#D3C954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D3C954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C954
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C954#FFFFFF#000000##000000
##D3C9541.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C347
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#E2BCB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3c954;
/* rgb */ color: rgb(211, 201, 84);
/* oklch */ color: oklch(82.2% 0.138 104.4);
Tailwind
colors: {
  custom: {
    50: '#e3d989',
    500: '#d3c954',
    950: '#000000',
  },
}
SCSS
$custom: #d3c954;
$custom-light: #e3d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c954",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 55.276,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8218,
    "c": 0.13774,
    "h": 104.4
  },
  "luminance": 0.56262
}

Semantic roles & 50–950 ramp

primary
#D3C954
secondary
#3C4290
accent
#52E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C954

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

Preview Lab → · Contrast checker → · Palette generator →

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