#D3CD5F#D3CD5F

#D3CD5F is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.1% C 0.132 H 106.1°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D3CD5F
RGBrgb(211, 205, 95)
HSLhsl(57, 57%, 60%)
HSVhsv(57, 55%, 83%)
CMYKcmyk(0%, 2.8%, 55%, 17.3%)
CIE-LABlab(80.93, -12.12, 54.55)
CIE-LCHlch(80.93, 55.88, 102.53°)
OKLaboklab(83.14% -0.0366 0.127)
OKLCHoklch(83.14% 0.132 106.1)
XYZxyz(50.7623, 58.3393, 19.4109)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD5F #5F65D3
analogous
#D3935F #D3CD5F #9FD35F
triadic
#D3CD5F #5FD3CD #CD5FD3
tetradic
#D3CD5F #5FD393 #5F65D3 #D35F9F
square
#D3CD5F #5FD393 #5F65D3 #D35F9F
split-complementary
#D3CD5F #5F9FD3 #935FD3
monochromatic
#908B28 #C0B935 #D3CD5F #E0DC8F #EDEBBF

Accessibility & contrast

On white

1.66
#D3CD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#D3CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD5F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD5F#FFFFFF#000000##000000
##D3CD5F1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#E1C1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3cd5f;
/* rgb */ color: rgb(211, 205, 95);
/* oklch */ color: oklch(83.1% 0.132 106.1);
Tailwind
colors: {
  custom: {
    50: '#e3dc90',
    500: '#d3cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd5f;
$custom-light: #e3dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd5f",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 56.897,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.83138,
    "c": 0.13218,
    "h": 106.1
  },
  "luminance": 0.58338
}

Semantic roles & 50–950 ramp

primary
#D3CD5F
secondary
#404596
accent
#50E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D3CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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