#D3C648#D3C648

#D3C648 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.144 H 103.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D3C648
RGBrgb(211, 198, 72)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 66%, 83%)
CMYKcmyk(0%, 6.2%, 65.9%, 17.3%)
CIE-LABlab(78.87, -10.13, 62.27)
CIE-LCHlch(78.87, 63.09, 99.24°)
OKLaboklab(81.44% -0.0334 0.1403)
OKLCHoklch(81.44% 0.144 103.4)
XYZxyz(48.2297, 54.7068, 14.1486)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C648 #4855D3
analogous
#D38048 #D3C648 #9BD348
triadic
#D3C648 #48D3C6 #C648D3
tetradic
#D3C648 #48D380 #4855D3 #D3489B
square
#D3C648 #48D380 #4855D3 #D3489B
split-complementary
#D3C648 #489BD3 #8048D3
monochromatic
#81781F #B3A62B #D3C648 #DFD579 #EBE5AB

Accessibility & contrast

On white

1.76
#D3C648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D3C648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C648
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C648#FFFFFF#000000##000000
##D3C6481.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#E2B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c648;
/* rgb */ color: rgb(211, 198, 72);
/* oklch */ color: oklch(81.4% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4d781',
    500: '#d3c648',
    950: '#000000',
  },
}
SCSS
$custom: #d3c648;
$custom-light: #e4d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c648",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 54.388,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.14426,
    "h": 103.4
  },
  "luminance": 0.54705
}

Semantic roles & 50–950 ramp

primary
#D3C648
secondary
#373E89
accent
#53E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3C648

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

Preview Lab → · Contrast checker → · Palette generator →

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