#D3C795#D3C795

#D3C795 is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.067 H 96.2°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D3C795
RGBrgb(211, 199, 149)
HSLhsl(48, 41%, 71%)
HSVhsv(48, 29%, 83%)
CMYKcmyk(0%, 5.7%, 29.4%, 17.3%)
CIE-LABlab(80.10, -3.45, 26.60)
CIE-LCHlch(80.10, 26.82, 97.38°)
OKLaboklab(82.73% -0.0073 0.0669)
OKLCHoklch(82.73% 0.067 96.2)
XYZxyz(52.7126, 56.8669, 36.6276)
Luminance0.5687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C795 #95A1D3
analogous
#D3A895 #D3C795 #C0D395
triadic
#D3C795 #95D3C7 #C795D3
tetradic
#D3C795 #95D3A8 #95A1D3 #D395C0
square
#D3C795 #95D3A8 #95A1D3 #D395C0
split-complementary
#D3C795 #95C0D3 #A895D3
monochromatic
#A89546 #C1B06A #D3C795 #E5DEC0 #F6F4E9

Accessibility & contrast

On white

1.70
#D3C795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#D3C795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C795
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C795#FFFFFF#000000##000000
##D3C7951.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C492
Deuteranopia (green-blind)
#D5C897
Tritanopia (blue-blind)
#DDC0BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3c795;
/* rgb */ color: rgb(211, 199, 149);
/* oklch */ color: oklch(82.7% 0.067 96.2);
Tailwind
colors: {
  custom: {
    50: '#e1d7b4',
    500: '#d3c795',
    950: '#000000',
  },
}
SCSS
$custom: #d3c795;
$custom-light: #e1d7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c795",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 149
  },
  "hsl": {
    "h": 48.387,
    "s": 41.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.82731,
    "c": 0.06731,
    "h": 96.2
  },
  "luminance": 0.56866
}

Semantic roles & 50–950 ramp

primary
#D3C795
secondary
#6371A9
accent
#4BB431
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D3C795

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

Preview Lab → · Contrast checker → · Palette generator →

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