#D5BA5D#D5BA5D

#D5BA5D is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.117 H 93.4°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D5BA5D
RGBrgb(213, 186, 93)
HSLhsl(47, 59%, 60%)
HSVhsv(47, 56%, 84%)
CMYKcmyk(0%, 12.7%, 56.3%, 16.5%)
CIE-LABlab(76.10, -1.68, 49.97)
CIE-LCHlch(76.10, 50.00, 91.92°)
OKLaboklab(79.35% -0.0069 0.1169)
OKLCHoklch(79.35% 0.117 93.4)
XYZxyz(46.9772, 50.0565, 17.5412)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA5D #5D78D5
analogous
#D57E5D #D5BA5D #B4D55D
triadic
#D5BA5D #5DD5BA #BA5DD5
tetradic
#D5BA5D #5DD57E #5D78D5 #D55DB4
square
#D5BA5D #5DD57E #5D78D5 #D55DB4
split-complementary
#D5BA5D #5DB4D5 #7E5DD5
monochromatic
#927A26 #C2A232 #D5BA5D #E2CF8E #EEE3BE

Accessibility & contrast

On white

1.91
#D5BA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#D5BA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA5D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA5D#FFFFFF#000000##000000
##D5BA5D1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB754
Deuteranopia (green-blind)
#D2BF61
Tritanopia (blue-blind)
#E4AEA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5ba5d;
/* rgb */ color: rgb(213, 186, 93);
/* oklch */ color: oklch(79.3% 0.117 93.4);
Tailwind
colors: {
  custom: {
    50: '#e5ce8d',
    500: '#d5ba5d',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba5d;
$custom-light: #e5ce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba5d",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 93
  },
  "hsl": {
    "h": 46.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.79349,
    "c": 0.11709,
    "h": 93.4
  },
  "luminance": 0.50054
}

Semantic roles & 50–950 ramp

primary
#D5BA5D
secondary
#3F5397
accent
#69E246
background
#FEFEFC
surface
#FDFAF4
border
#D5D3CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D5BA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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