#D7B94F#D7B94F

#D7B94F is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.129 H 93.4°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D7B94F
RGBrgb(215, 185, 79)
HSLhsl(47, 63%, 58%)
HSVhsv(47, 63%, 84%)
CMYKcmyk(0%, 14%, 63.3%, 15.7%)
CIE-LABlab(75.89, -1.30, 56.24)
CIE-LCHlch(75.89, 56.25, 91.32°)
OKLaboklab(79.18% -0.0076 0.1285)
OKLCHoklch(79.18% 0.129 93.4)
XYZxyz(46.7868, 49.7119, 14.5266)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B94F #4F6DD7
analogous
#D7754F #D7B94F #B1D74F
triadic
#D7B94F #4FD7B9 #B94FD7
tetradic
#D7B94F #4FD775 #4F6DD7 #D74FB1
square
#D7B94F #4FD775 #4F6DD7 #D74FB1
split-complementary
#D7B94F #4FB1D7 #754FD7
monochromatic
#8C7420 #BE9D2B #D7B94F #E2CD81 #EEE1B3

Accessibility & contrast

On white

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

On black

10.94
#D7B94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B94F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B94F#FFFFFF#000000##000000
##D7B94F1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB643
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#E7ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b94f;
/* rgb */ color: rgb(215, 185, 79);
/* oklch */ color: oklch(79.2% 0.129 93.4);
Tailwind
colors: {
  custom: {
    50: '#e7cd85',
    500: '#d7b94f',
    950: '#000000',
  },
}
SCSS
$custom: #d7b94f;
$custom-light: #e7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b94f",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 46.765,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.7918,
    "c": 0.12873,
    "h": 93.4
  },
  "luminance": 0.4971
}

Semantic roles & 50–950 ramp

primary
#D7B94F
secondary
#A6B2DC
accent
#66E642
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B94F

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

Preview Lab → · Contrast checker → · Palette generator →

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