#D3CA5B#D3CA5B

#D3CA5B is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.133 H 104.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#D3CA5B
RGBrgb(211, 202, 91)
HSLhsl(56, 58%, 59%)
HSVhsv(56, 57%, 83%)
CMYKcmyk(0%, 4.3%, 56.9%, 17.3%)
CIE-LABlab(80.09, -10.91, 55.42)
CIE-LCHlch(80.09, 56.49, 101.13°)
OKLaboklab(82.46% -0.0336 0.1284)
OKLCHoklch(82.46% 0.133 104.6)
XYZxyz(49.8744, 56.8469, 18.2409)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA5B #5B64D3
analogous
#D38E5B #D3CA5B #A0D35B
triadic
#D3CA5B #5BD3CA #CA5BD3
tetradic
#D3CA5B #5BD38E #5B64D3 #D35BA0
square
#D3CA5B #5BD38E #5B64D3 #D35BA0
split-complementary
#D3CA5B #5BA0D3 #8E5BD3
monochromatic
#8E8626 #BEB333 #D3CA5B #E0DA8B #EDE9BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CA5B#FFFFFF#000000##000000
##D3CA5B1.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)
#DAC44F
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#E1BEB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3ca5b;
/* rgb */ color: rgb(211, 202, 91);
/* oklch */ color: oklch(82.5% 0.133 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3d98d',
    500: '#d3ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca5b;
$custom-light: #e3d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca5b",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 55.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82463,
    "c": 0.13274,
    "h": 104.6
  },
  "luminance": 0.56845
}

Semantic roles & 50–950 ramp

primary
#D3CA5B
secondary
#3F4594
accent
#52E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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