#D5B247#D5B247

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

Color values

HEX#D5B247
RGBrgb(213, 178, 71)
HSLhsl(45, 63%, 56%)
HSVhsv(45, 67%, 84%)
CMYKcmyk(0%, 16.4%, 66.7%, 16.5%)
CIE-LABlab(73.83, 1.04, 57.47)
CIE-LCHlch(73.83, 57.48, 88.96°)
OKLaboklab(77.49% -0.0017 0.13)
OKLCHoklch(77.49% 0.13 90.8)
XYZxyz(44.5006, 46.4444, 12.5808)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B247 #476AD5
analogous
#D56B47 #D5B247 #B1D547
triadic
#D5B247 #47D5B2 #B247D5
tetradic
#D5B247 #47D56B #476AD5 #D547B1
square
#D5B247 #47D56B #476AD5 #D547B1
split-complementary
#D5B247 #47B1D5 #6B47D5
monochromatic
#846B1E #B59329 #D5B247 #E0C779 #ECDCAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B247#FFFFFF#000000##000000
##D5B2471.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)
#C5B03A
Deuteranopia (green-blind)
#CDBA4C
Tritanopia (blue-blind)
#E6A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d5b247;
/* rgb */ color: rgb(213, 178, 71);
/* oklch */ color: oklch(77.5% 0.130 90.8);
Tailwind
colors: {
  custom: {
    50: '#e6c87f',
    500: '#d5b247',
    950: '#000000',
  },
}
SCSS
$custom: #d5b247;
$custom-light: #e6c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b247",
  "rgb": {
    "r": 213,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 45.211,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77488,
    "c": 0.12997,
    "h": 90.8
  },
  "luminance": 0.46442
}

Semantic roles & 50–950 ramp

primary
#D5B247
secondary
#9EADD9
accent
#6AE642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B247

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

Preview Lab → · Contrast checker → · Palette generator →

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