#D5BA5E#D5BA5E

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

Color values

HEX#D5BA5E
RGBrgb(213, 186, 94)
HSLhsl(46, 59%, 60%)
HSVhsv(46, 56%, 84%)
CMYKcmyk(0%, 12.7%, 55.9%, 16.5%)
CIE-LABlab(76.11, -1.60, 49.51)
CIE-LCHlch(76.11, 49.54, 91.85°)
OKLaboklab(79.36% -0.0066 0.116)
OKLCHoklch(79.36% 0.116 93.3)
XYZxyz(47.0217, 50.0743, 17.7760)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA5E #5E79D5
analogous
#D57F5E #D5BA5E #B4D55E
triadic
#D5BA5E #5ED5BA #BA5ED5
tetradic
#D5BA5E #5ED57F #5E79D5 #D55EB4
square
#D5BA5E #5ED57F #5E79D5 #D55EB4
split-complementary
#D5BA5E #5EB4D5 #7F5ED5
monochromatic
#927A26 #C3A233 #D5BA5E #E2CF8F #EEE4BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BA5E#FFFFFF#000000##000000
##D5BA5E1.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)
#CBB755
Deuteranopia (green-blind)
#D2BF62
Tritanopia (blue-blind)
#E4AEA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d5ba5e;
/* rgb */ color: rgb(213, 186, 94);
/* oklch */ color: oklch(79.4% 0.116 93.3);
Tailwind
colors: {
  custom: {
    50: '#e4ce8e',
    500: '#d5ba5e',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba5e;
$custom-light: #e4ce8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba5e",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 94
  },
  "hsl": {
    "h": 46.387,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.79361,
    "c": 0.11617,
    "h": 93.3
  },
  "luminance": 0.50072
}

Semantic roles & 50–950 ramp

primary
#D5BA5E
secondary
#3F5398
accent
#45C61F
background
#FEFEFC
surface
#FDFAF4
border
#D5D3CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D5BA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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