#D3CB5F#D3CB5F

#D3CB5F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.130 H 105.0°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D3CB5F
RGBrgb(211, 203, 95)
HSLhsl(56, 57%, 60%)
HSVhsv(56, 55%, 83%)
CMYKcmyk(0%, 3.8%, 55%, 17.3%)
CIE-LABlab(80.40, -11.11, 53.95)
CIE-LCHlch(80.40, 55.08, 101.64°)
OKLaboklab(82.72% -0.0337 0.1257)
OKLCHoklch(82.72% 0.13 105)
XYZxyz(50.2870, 57.3886, 19.2524)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CB5F #5F67D3
analogous
#D3915F #D3CB5F #A1D35F
triadic
#D3CB5F #5FD3CB #CB5FD3
tetradic
#D3CB5F #5FD391 #5F67D3 #D35FA1
square
#D3CB5F #5FD391 #5F67D3 #D35FA1
split-complementary
#D3CB5F #5FA1D3 #915FD3
monochromatic
#908928 #C0B635 #D3CB5F #E0DB8F #EDEABF

Accessibility & contrast

On white

1.68
#D3CB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#D3CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CB5F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CB5F#FFFFFF#000000##000000
##D3CB5F1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC554
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#E1BFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d3cb5f;
/* rgb */ color: rgb(211, 203, 95);
/* oklch */ color: oklch(82.7% 0.130 105.0);
Tailwind
colors: {
  custom: {
    50: '#e3da90',
    500: '#d3cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d3cb5f;
$custom-light: #e3da90;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cb5f",
  "rgb": {
    "r": 211,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 55.862,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.82717,
    "c": 0.13015,
    "h": 105
  },
  "luminance": 0.57387
}

Semantic roles & 50–950 ramp

primary
#D3CB5F
secondary
#404696
accent
#52E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D3CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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