#D7B844#D7B844

#D7B844 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.9% C 0.136 H 93.9°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#D7B844
RGBrgb(215, 184, 68)
HSLhsl(47, 65%, 55%)
HSVhsv(47, 68%, 84%)
CMYKcmyk(0%, 14.4%, 68.4%, 15.7%)
CIE-LABlab(75.54, -1.42, 60.58)
CIE-LCHlch(75.54, 60.59, 91.34°)
OKLaboklab(78.88% -0.0093 0.136)
OKLCHoklch(78.88% 0.136 93.9)
XYZxyz(46.2105, 49.1479, 12.5202)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B844 #4463D7
analogous
#D76E44 #D7B844 #ACD744
triadic
#D7B844 #44D7B8 #B844D7
tetradic
#D7B844 #44D76E #4463D7 #D744AC
square
#D7B844 #44D76E #4463D7 #D744AC
split-complementary
#D7B844 #44ACD7 #6E44D7
monochromatic
#846E1C #B79827 #D7B844 #E2CB76 #EDDEA9

Accessibility & contrast

On white

1.94
#D7B844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#D7B844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B844
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B844#FFFFFF#000000##000000
##D7B8441.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB535
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#E8AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b844;
/* rgb */ color: rgb(215, 184, 68);
/* oklch */ color: oklch(78.9% 0.136 93.9);
Tailwind
colors: {
  custom: {
    50: '#e7cd7e',
    500: '#d7b844',
    950: '#000000',
  },
}
SCSS
$custom: #d7b844;
$custom-light: #e7cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b844",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 68
  },
  "hsl": {
    "h": 47.347,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78875,
    "c": 0.13629,
    "h": 93.9
  },
  "luminance": 0.49145
}

Semantic roles & 50–950 ramp

primary
#D7B844
secondary
#9DAADA
accent
#63E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B844

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

Preview Lab → · Contrast checker → · Palette generator →

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