#D5B846#D5B846

#D5B846 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.135 H 94.7°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#D5B846
RGBrgb(213, 184, 70)
HSLhsl(48, 63%, 55%)
HSVhsv(48, 67%, 84%)
CMYKcmyk(0%, 13.6%, 67.1%, 16.5%)
CIE-LABlab(75.37, -2.17, 59.51)
CIE-LCHlch(75.37, 59.55, 92.08°)
OKLaboklab(78.7% -0.0111 0.1341)
OKLCHoklch(78.7% 0.135 94.7)
XYZxyz(45.6888, 48.8717, 12.8198)
Luminance0.4887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B846 #4663D5
analogous
#D57046 #D5B846 #ABD546
triadic
#D5B846 #46D5B8 #B846D5
tetradic
#D5B846 #46D570 #4663D5 #D546AB
square
#D5B846 #46D570 #4663D5 #D546AB
split-complementary
#D5B846 #46ABD5 #7046D5
monochromatic
#836E1E #B59829 #D5B846 #E0CB78 #ECDEAA

Accessibility & contrast

On white

1.95
#D5B846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#D5B846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B846
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B846#FFFFFF#000000##000000
##D5B8461.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB437
Deuteranopia (green-blind)
#D2BD4C
Tritanopia (blue-blind)
#E6AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d5b846;
/* rgb */ color: rgb(213, 184, 70);
/* oklch */ color: oklch(78.7% 0.135 94.7);
Tailwind
colors: {
  custom: {
    50: '#e6cd7f',
    500: '#d5b846',
    950: '#000000',
  },
}
SCSS
$custom: #d5b846;
$custom-light: #e6cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b846",
  "rgb": {
    "r": 213,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 47.832,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78701,
    "c": 0.13458,
    "h": 94.7
  },
  "luminance": 0.48869
}

Semantic roles & 50–950 ramp

primary
#D5B846
secondary
#9EAAD9
accent
#63E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B846

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

Preview Lab → · Contrast checker → · Palette generator →

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