#D3CB5A#D3CB5A

#D3CB5A is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.135 H 105.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D3CB5A
RGBrgb(211, 203, 90)
HSLhsl(56, 58%, 59%)
HSVhsv(56, 57%, 83%)
CMYKcmyk(0%, 3.8%, 57.3%, 17.3%)
CIE-LABlab(80.35, -11.49, 56.16)
CIE-LCHlch(80.35, 57.32, 101.56°)
OKLaboklab(82.66% -0.0353 0.1299)
OKLCHoklch(82.66% 0.135 105.2)
XYZxyz(50.0670, 57.3006, 18.0937)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CB5A #5A62D3
analogous
#D38F5A #D3CB5A #9FD35A
triadic
#D3CB5A #5AD3CB #CB5AD3
tetradic
#D3CB5A #5AD38F #5A62D3 #D35A9F
square
#D3CB5A #5AD38F #5A62D3 #D35A9F
split-complementary
#D3CB5A #5A9FD3 #8F5AD3
monochromatic
#8D8626 #BDB432 #D3CB5A #E0DA8A #EDE9BB

Accessibility & contrast

On white

1.69
#D3CB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#D3CB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CB5A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CB5A#FFFFFF#000000##000000
##D3CB5A1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44E
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#E1BFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3cb5a;
/* rgb */ color: rgb(211, 203, 90);
/* oklch */ color: oklch(82.7% 0.135 105.2);
Tailwind
colors: {
  custom: {
    50: '#e3da8d',
    500: '#d3cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cb5a;
$custom-light: #e3da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cb5a",
  "rgb": {
    "r": 211,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 56.033,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82662,
    "c": 0.1346,
    "h": 105.2
  },
  "luminance": 0.57299
}

Semantic roles & 50–950 ramp

primary
#D3CB5A
secondary
#3E4493
accent
#51E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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