#D3CD5B#D3CD5B

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

Color values

HEX#D3CD5B
RGBrgb(211, 205, 91)
HSLhsl(57, 58%, 59%)
HSVhsv(57, 57%, 83%)
CMYKcmyk(0%, 2.8%, 56.9%, 17.3%)
CIE-LABlab(80.89, -12.42, 56.32)
CIE-LCHlch(80.89, 57.67, 102.44°)
OKLaboklab(83.1% -0.0379 0.1303)
OKLCHoklch(83.1% 0.136 106.2)
XYZxyz(50.5852, 58.2684, 18.4778)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD5B #5B61D3
analogous
#D3915B #D3CD5B #9DD35B
triadic
#D3CD5B #5BD3CD #CD5BD3
tetradic
#D3CD5B #5BD391 #5B61D3 #D35B9D
square
#D3CD5B #5BD391 #5B61D3 #D35B9D
split-complementary
#D3CD5B #5B9DD3 #915BD3
monochromatic
#8E8826 #BEB733 #D3CD5B #E0DC8B #EDEABC

Accessibility & contrast

On white

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

On black

12.65
#D3CD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD5B
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD5B#FFFFFF#000000##000000
##D3CD5B1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64F
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#E1C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3cd5b;
/* rgb */ color: rgb(211, 205, 91);
/* oklch */ color: oklch(83.1% 0.136 106.2);
Tailwind
colors: {
  custom: {
    50: '#e3dc8d',
    500: '#d3cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd5b;
$custom-light: #e3dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd5b",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 57,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83095,
    "c": 0.13574,
    "h": 106.2
  },
  "luminance": 0.58267
}

Semantic roles & 50–950 ramp

primary
#D3CD5B
secondary
#3F4394
accent
#4FE147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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