#D3C757#D3C757

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

Color values

HEX#D3C757
RGBrgb(211, 199, 87)
HSLhsl(54, 58%, 58%)
HSVhsv(54, 59%, 83%)
CMYKcmyk(0%, 5.7%, 58.8%, 17.3%)
CIE-LABlab(79.26, -9.67, 56.29)
CIE-LCHlch(79.26, 57.12, 99.75°)
OKLaboklab(81.79% -0.0305 0.1298)
OKLCHoklch(81.79% 0.133 103.2)
XYZxyz(49.0094, 55.3856, 17.1239)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C757 #5763D3
analogous
#D38957 #D3C757 #A1D357
triadic
#D3C757 #57D3C7 #C757D3
tetradic
#D3C757 #57D389 #5763D3 #D357A1
square
#D3C757 #57D389 #5763D3 #D357A1
split-complementary
#D3C757 #57A1D3 #8957D3
monochromatic
#8B8124 #BCAE31 #D3C757 #E0D787 #ECE7B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3C757#FFFFFF#000000##000000
##D3C7571.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)
#D7C14B
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#E2BBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c757;
/* rgb */ color: rgb(211, 199, 87);
/* oklch */ color: oklch(81.8% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#e3d78a',
    500: '#d3c757',
    950: '#000000',
  },
}
SCSS
$custom: #d3c757;
$custom-light: #e3d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c757",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 54.194,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8179,
    "c": 0.13332,
    "h": 103.2
  },
  "luminance": 0.55384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C757

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

Preview Lab → · Contrast checker → · Palette generator →

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