#D3C057#D3C057

#D3C057 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.127 H 99.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D3C057
RGBrgb(211, 192, 87)
HSLhsl(51, 58%, 58%)
HSVhsv(51, 59%, 83%)
CMYKcmyk(0%, 9%, 58.8%, 17.3%)
CIE-LABlab(77.42, -6.08, 54.23)
CIE-LCHlch(77.42, 54.57, 96.40°)
OKLaboklab(80.33% -0.0202 0.1254)
OKLCHoklch(80.33% 0.127 99.2)
XYZxyz(47.4357, 52.2383, 16.5993)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C057 #576AD3
analogous
#D38257 #D3C057 #A8D357
triadic
#D3C057 #57D3C0 #C057D3
tetradic
#D3C057 #57D382 #576AD3 #D357A8
square
#D3C057 #57D382 #576AD3 #D357A8
split-complementary
#D3C057 #57A8D3 #8257D3
monochromatic
#8B7B24 #BCA631 #D3C057 #E0D287 #ECE4B8

Accessibility & contrast

On white

1.83
#D3C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D3C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C057
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C057#FFFFFF#000000##000000
##D3C0571.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB4C
Deuteranopia (green-blind)
#D6C25C
Tritanopia (blue-blind)
#E2B4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3c057;
/* rgb */ color: rgb(211, 192, 87);
/* oklch */ color: oklch(80.3% 0.127 99.2);
Tailwind
colors: {
  custom: {
    50: '#e3d28a',
    500: '#d3c057',
    950: '#000000',
  },
}
SCSS
$custom: #d3c057;
$custom-light: #e3d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c057",
  "rgb": {
    "r": 211,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 50.806,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8033,
    "c": 0.12701,
    "h": 99.2
  },
  "luminance": 0.52236
}

Semantic roles & 50–950 ramp

primary
#D3C057
secondary
#3D4A91
accent
#5EE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C057

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

Preview Lab → · Contrast checker → · Palette generator →

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