#D5B249#D5B249

#D5B249 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.5% C 0.128 H 90.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#D5B249
RGBrgb(213, 178, 73)
HSLhsl(45, 63%, 56%)
HSVhsv(45, 66%, 84%)
CMYKcmyk(0%, 16.4%, 65.7%, 16.5%)
CIE-LABlab(73.85, 1.16, 56.62)
CIE-LCHlch(73.85, 56.63, 88.83°)
OKLaboklab(77.51% -0.0012 0.1285)
OKLCHoklch(77.51% 0.128 90.5)
XYZxyz(44.5658, 46.4705, 12.9244)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B249 #496CD5
analogous
#D56C49 #D5B249 #B2D549
triadic
#D5B249 #49D5B2 #B249D5
tetradic
#D5B249 #49D56C #496CD5 #D549B2
square
#D5B249 #49D56C #496CD5 #D549B2
split-complementary
#D5B249 #49B2D5 #6C49D5
monochromatic
#856B1F #B7942A #D5B249 #E0C77B #ECDCAC

Accessibility & contrast

On white

2.04
#D5B249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#D5B249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B249
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B249#FFFFFF#000000##000000
##D5B2491.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03D
Deuteranopia (green-blind)
#CDBA4E
Tritanopia (blue-blind)
#E6A49C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b249;
/* rgb */ color: rgb(213, 178, 73);
/* oklch */ color: oklch(77.5% 0.128 90.5);
Tailwind
colors: {
  custom: {
    50: '#e5c880',
    500: '#d5b249',
    950: '#000000',
  },
}
SCSS
$custom: #d5b249;
$custom-light: #e5c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b249",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 45,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77507,
    "c": 0.12848,
    "h": 90.5
  },
  "luminance": 0.46468
}

Semantic roles & 50–950 ramp

primary
#D5B249
secondary
#A0AEDA
accent
#6BE642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B249

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

Preview Lab → · Contrast checker → · Palette generator →

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