#D3C960#D3C960

#D3C960 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.127 H 103.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D3C960
RGBrgb(211, 201, 96)
HSLhsl(55, 57%, 60%)
HSVhsv(55, 55%, 83%)
CMYKcmyk(0%, 4.7%, 54.5%, 17.3%)
CIE-LABlab(79.88, -10.01, 52.89)
CIE-LCHlch(79.88, 53.83, 100.72°)
OKLaboklab(82.31% -0.0305 0.1235)
OKLCHoklch(82.31% 0.127 103.9)
XYZxyz(49.8635, 56.4684, 19.3369)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C960 #606AD3
analogous
#D39060 #D3C960 #A3D360
triadic
#D3C960 #60D3C9 #C960D3
tetradic
#D3C960 #60D390 #606AD3 #D360A3
square
#D3C960 #60D390 #606AD3 #D360A3
split-complementary
#D3C960 #60A3D3 #9060D3
monochromatic
#918728 #C1B435 #D3C960 #E0D990 #EEEAC0

Accessibility & contrast

On white

1.71
#D3C960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#D3C960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C960
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C960#FFFFFF#000000##000000
##D3C9601.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C356
Deuteranopia (green-blind)
#DCC865
Tritanopia (blue-blind)
#E1BDB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3c960;
/* rgb */ color: rgb(211, 201, 96);
/* oklch */ color: oklch(82.3% 0.127 103.9);
Tailwind
colors: {
  custom: {
    50: '#e3d990',
    500: '#d3c960',
    950: '#000000',
  },
}
SCSS
$custom: #d3c960;
$custom-light: #e3d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c960",
  "rgb": {
    "r": 211,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 54.783,
    "s": 56.65,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82309,
    "c": 0.12724,
    "h": 103.9
  },
  "luminance": 0.56467
}

Semantic roles & 50–950 ramp

primary
#D3C960
secondary
#414896
accent
#2FC421
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D3C960

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

Preview Lab → · Contrast checker → · Palette generator →

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