#D5BA4E#D5BA4E

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

Color values

HEX#D5BA4E
RGBrgb(213, 186, 78)
HSLhsl(48, 62%, 57%)
HSVhsv(48, 63%, 84%)
CMYKcmyk(0%, 12.7%, 63.4%, 16.5%)
CIE-LABlab(75.96, -2.73, 56.70)
CIE-LCHlch(75.96, 56.76, 92.76°)
OKLaboklab(79.19% -0.0118 0.1294)
OKLCHoklch(79.19% 0.13 95.2)
XYZxyz(46.3767, 49.8163, 14.3790)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BA4E #4E69D5
analogous
#D5774E #D5BA4E #ADD54E
triadic
#D5BA4E #4ED5BA #BA4ED5
tetradic
#D5BA4E #4ED577 #4E69D5 #D54EAD
square
#D5BA4E #4ED577 #4E69D5 #D54EAD
split-complementary
#D5BA4E #4EADD5 #774ED5
monochromatic
#887320 #BA9D2C #D5BA4E #E1CD7F #ECE1B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5BA4E#FFFFFF#000000##000000
##D5BA4E1.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)
#CCB642
Deuteranopia (green-blind)
#D3BF53
Tritanopia (blue-blind)
#E5ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d5ba4e;
/* rgb */ color: rgb(213, 186, 78);
/* oklch */ color: oklch(79.2% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#e5ce84',
    500: '#d5ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #d5ba4e;
$custom-light: #e5ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ba4e",
  "rgb": {
    "r": 213,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 48,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79185,
    "c": 0.12992,
    "h": 95.2
  },
  "luminance": 0.49814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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