#D5BA4D#D5BA4D

#D5BA4D is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.131 H 95.3°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D5BA4D
RGBrgb(213, 186, 77)
HSLhsl(48, 62%, 57%)
HSVhsv(48, 64%, 84%)
CMYKcmyk(0%, 12.7%, 63.8%, 16.5%)
CIE-LABlab(75.95, -2.79, 57.13)
CIE-LCHlch(75.95, 57.20, 92.80°)
OKLaboklab(79.18% -0.0121 0.1301)
OKLCHoklch(79.18% 0.131 95.3)
XYZxyz(46.3411, 49.8021, 14.1916)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA4D #4D68D5
analogous
#D5764D #D5BA4D #ACD54D
triadic
#D5BA4D #4DD5BA #BA4DD5
tetradic
#D5BA4D #4DD576 #4D68D5 #D54DAC
square
#D5BA4D #4DD576 #4D68D5 #D54DAC
split-complementary
#D5BA4D #4DACD5 #764DD5
monochromatic
#887320 #B99D2C #D5BA4D #E1CD7F #ECE0B0

Accessibility & contrast

On white

1.92
#D5BA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D5BA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BA4D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BA4D#FFFFFF#000000##000000
##D5BA4D1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB640
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#E5ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba4d;
/* rgb */ color: rgb(213, 186, 77);
/* oklch */ color: oklch(79.2% 0.131 95.3);
Tailwind
colors: {
  custom: {
    50: '#e5ce83',
    500: '#d5ba4d',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba4d;
$custom-light: #e5ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba4d",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 48.088,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79175,
    "c": 0.13071,
    "h": 95.3
  },
  "luminance": 0.498
}

Semantic roles & 50–950 ramp

primary
#D5BA4D
secondary
#A3AEDB
accent
#63E543
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5BA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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