#D3C448#D3C448

#D3C448 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.142 H 102.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D3C448
RGBrgb(211, 196, 72)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 66%, 83%)
CMYKcmyk(0%, 7.1%, 65.9%, 17.3%)
CIE-LABlab(78.34, -9.11, 61.72)
CIE-LCHlch(78.34, 62.39, 98.39°)
OKLaboklab(81.02% -0.0305 0.1392)
OKLCHoklch(81.02% 0.142 102.4)
XYZxyz(47.7755, 53.7986, 13.9972)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C448 #4857D3
analogous
#D37E48 #D3C448 #9CD348
triadic
#D3C448 #48D3C4 #C448D3
tetradic
#D3C448 #48D37E #4857D3 #D3489C
square
#D3C448 #48D37E #4857D3 #D3489C
split-complementary
#D3C448 #489CD3 #7E48D3
monochromatic
#81771F #B3A42B #D3C448 #DFD479 #EBE4AB

Accessibility & contrast

On white

1.79
#D3C448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#D3C448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C448
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C448#FFFFFF#000000##000000
##D3C4481.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#E2B7AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c448;
/* rgb */ color: rgb(211, 196, 72);
/* oklch */ color: oklch(81.0% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#e4d581',
    500: '#d3c448',
    950: '#000000',
  },
}
SCSS
$custom: #d3c448;
$custom-light: #e4d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c448",
  "rgb": {
    "r": 211,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 53.525,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81019,
    "c": 0.14249,
    "h": 102.4
  },
  "luminance": 0.53797
}

Semantic roles & 50–950 ramp

primary
#D3C448
secondary
#373F89
accent
#55E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C448

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

Preview Lab → · Contrast checker → · Palette generator →

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