#D7B950#D7B950

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

Color values

HEX#D7B950
RGBrgb(215, 185, 80)
HSLhsl(47, 63%, 58%)
HSVhsv(47, 63%, 84%)
CMYKcmyk(0%, 14%, 62.8%, 15.7%)
CIE-LABlab(75.90, -1.23, 55.80)
CIE-LCHlch(75.90, 55.82, 91.27°)
OKLaboklab(79.19% -0.0073 0.1277)
OKLCHoklch(79.19% 0.128 93.3)
XYZxyz(46.8234, 49.7266, 14.7197)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B950 #506ED7
analogous
#D77650 #D7B950 #B1D750
triadic
#D7B950 #50D7B9 #B950D7
tetradic
#D7B950 #50D776 #506ED7 #D750B1
square
#D7B950 #50D776 #506ED7 #D750B1
split-complementary
#D7B950 #50B1D7 #7650D7
monochromatic
#8C7420 #BE9E2B #D7B950 #E2CD82 #EEE1B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B950#FFFFFF#000000##000000
##D7B9501.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)
#CBB644
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#E7ACA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b950;
/* rgb */ color: rgb(215, 185, 80);
/* oklch */ color: oklch(79.2% 0.128 93.3);
Tailwind
colors: {
  custom: {
    50: '#e7cd85',
    500: '#d7b950',
    950: '#000000',
  },
}
SCSS
$custom: #d7b950;
$custom-light: #e7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b950",
  "rgb": {
    "r": 215,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 46.667,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.7919,
    "c": 0.12793,
    "h": 93.3
  },
  "luminance": 0.49724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B950

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

Preview Lab → · Contrast checker → · Palette generator →

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