#D3C758#D3C758

#D3C758 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.132 H 103.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D3C758
RGBrgb(211, 199, 88)
HSLhsl(54, 58%, 59%)
HSVhsv(54, 58%, 83%)
CMYKcmyk(0%, 5.7%, 58.3%, 17.3%)
CIE-LABlab(79.27, -9.60, 55.85)
CIE-LCHlch(79.27, 56.67, 99.75°)
OKLaboklab(81.8% -0.0302 0.129)
OKLCHoklch(81.8% 0.132 103.2)
XYZxyz(49.0505, 55.4021, 17.3405)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C758 #5864D3
analogous
#D38958 #D3C758 #A1D358
triadic
#D3C758 #58D3C7 #C758D3
tetradic
#D3C758 #58D389 #5864D3 #D358A1
square
#D3C758 #58D389 #5864D3 #D358A1
split-complementary
#D3C758 #58A1D3 #8958D3
monochromatic
#8C8225 #BCAF32 #D3C758 #E0D788 #EDE7B9

Accessibility & contrast

On white

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

On black

12.08
#D3C758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C758
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C758#FFFFFF#000000##000000
##D3C7581.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#E1BBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c758;
/* rgb */ color: rgb(211, 199, 88);
/* oklch */ color: oklch(81.8% 0.132 103.2);
Tailwind
colors: {
  custom: {
    50: '#e3d78b',
    500: '#d3c758',
    950: '#000000',
  },
}
SCSS
$custom: #d3c758;
$custom-light: #e3d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c758",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 54.146,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81801,
    "c": 0.13246,
    "h": 103.2
  },
  "luminance": 0.554
}

Semantic roles & 50–950 ramp

primary
#D3C758
secondary
#3D4692
accent
#55E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C758

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

Preview Lab → · Contrast checker → · Palette generator →

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