#D3C754#D3C754

#D3C754 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.136 H 103.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D3C754
RGBrgb(211, 199, 84)
HSLhsl(54, 59%, 58%)
HSVhsv(54, 60%, 83%)
CMYKcmyk(0%, 5.7%, 60.2%, 17.3%)
CIE-LABlab(79.24, -9.88, 57.59)
CIE-LCHlch(79.24, 58.43, 99.74°)
OKLaboklab(81.76% -0.0314 0.1322)
OKLCHoklch(81.76% 0.136 103.4)
XYZxyz(48.8894, 55.3376, 16.4917)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C754 #5460D3
analogous
#D38854 #D3C754 #9FD354
triadic
#D3C754 #54D3C7 #C754D3
tetradic
#D3C754 #54D388 #5460D3 #D3549F
square
#D3C754 #54D388 #5460D3 #D3549F
split-complementary
#D3C754 #549FD3 #8854D3
monochromatic
#898023 #BAAD30 #D3C754 #E0D785 #ECE7B5

Accessibility & contrast

On white

1.74
#D3C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#D3C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C754
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C754#FFFFFF#000000##000000
##D3C7541.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C147
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#E2BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c754;
/* rgb */ color: rgb(211, 199, 84);
/* oklch */ color: oklch(81.8% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e3d789',
    500: '#d3c754',
    950: '#000000',
  },
}
SCSS
$custom: #d3c754;
$custom-light: #e3d789;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c754",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 54.331,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81759,
    "c": 0.13584,
    "h": 103.4
  },
  "luminance": 0.55336
}

Semantic roles & 50–950 ramp

primary
#D3C754
secondary
#3C4490
accent
#54E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C754

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

Preview Lab → · Contrast checker → · Palette generator →

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