#D3C848#D3C848

#D3C848 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.146 H 104.4°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D3C848
RGBrgb(211, 200, 72)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 66%, 83%)
CMYKcmyk(0%, 5.2%, 65.9%, 17.3%)
CIE-LABlab(79.40, -11.14, 62.82)
CIE-LCHlch(79.40, 63.80, 100.06°)
OKLaboklab(81.86% -0.0363 0.1415)
OKLCHoklch(81.86% 0.146 104.4)
XYZxyz(48.6898, 55.6271, 14.3020)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C848 #4853D3
analogous
#D38348 #D3C848 #98D348
triadic
#D3C848 #48D3C8 #C848D3
tetradic
#D3C848 #48D383 #4853D3 #D34898
square
#D3C848 #48D383 #4853D3 #D34898
split-complementary
#D3C848 #4898D3 #8348D3
monochromatic
#817A1F #B3A82B #D3C848 #DFD779 #EBE6AB

Accessibility & contrast

On white

1.73
#D3C848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D3C848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C848
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C848#FFFFFF#000000##000000
##D3C8481.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C137
Deuteranopia (green-blind)
#DDC750
Tritanopia (blue-blind)
#E2BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c848;
/* rgb */ color: rgb(211, 200, 72);
/* oklch */ color: oklch(81.9% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#e4d881',
    500: '#d3c848',
    950: '#000000',
  },
}
SCSS
$custom: #d3c848;
$custom-light: #e4d881;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c848",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 72
  },
  "hsl": {
    "h": 55.252,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8186,
    "c": 0.14608,
    "h": 104.4
  },
  "luminance": 0.55625
}

Semantic roles & 50–950 ramp

primary
#D3C848
secondary
#373D89
accent
#50E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C848

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

Preview Lab → · Contrast checker → · Palette generator →

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