#D3C378#D3C378

#D3C378 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.4% C 0.097 H 97.6°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D3C378
RGBrgb(211, 195, 120)
HSLhsl(49, 51%, 65%)
HSVhsv(49, 43%, 83%)
CMYKcmyk(0%, 7.6%, 43.1%, 17.3%)
CIE-LABlab(78.60, -4.75, 39.64)
CIE-LCHlch(78.60, 39.93, 96.83°)
OKLaboklab(81.39% -0.0129 0.0962)
OKLCHoklch(81.39% 0.097 97.6)
XYZxyz(49.7704, 54.2368, 25.6127)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C378 #7888D3
analogous
#D39678 #D3C378 #B5D378
triadic
#D3C378 #78D3C3 #C378D3
tetradic
#D3C378 #78D396 #7888D3 #D378B5
square
#D3C378 #78D396 #7888D3 #D378B5
split-complementary
#D3C378 #78B5D3 #9678D3
monochromatic
#9D8B33 #C4AE4A #D3C378 #E2D8A6 #F1ECD4

Accessibility & contrast

On white

1.77
#D3C378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#D3C378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C378
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C378#FFFFFF#000000##000000
##D3C3781.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF72
Deuteranopia (green-blind)
#D5C57B
Tritanopia (blue-blind)
#E0B9B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d3c378;
/* rgb */ color: rgb(211, 195, 120);
/* oklch */ color: oklch(81.4% 0.097 97.6);
Tailwind
colors: {
  custom: {
    50: '#e2d5a0',
    500: '#d3c378',
    950: '#000000',
  },
}
SCSS
$custom: #d3c378;
$custom-light: #e2d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c378",
  "rgb": {
    "r": 211,
    "g": 195,
    "b": 120
  },
  "hsl": {
    "h": 49.451,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81389,
    "c": 0.0971,
    "h": 97.6
  },
  "luminance": 0.54235
}

Semantic roles & 50–950 ramp

primary
#D3C378
secondary
#4D5CA2
accent
#42BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D3C378

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

Preview Lab → · Contrast checker → · Palette generator →

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