#D7B650#D7B650

#D7B650 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.126 H 91.3°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D7B650
RGBrgb(215, 182, 80)
HSLhsl(45, 63%, 58%)
HSVhsv(45, 63%, 84%)
CMYKcmyk(0%, 15.3%, 62.8%, 15.7%)
CIE-LABlab(75.13, 0.34, 54.96)
CIE-LCHlch(75.13, 54.96, 89.65°)
OKLaboklab(78.58% -0.0028 0.1259)
OKLCHoklch(78.58% 0.126 91.3)
XYZxyz(46.2025, 48.4847, 14.5128)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B650 #5071D7
analogous
#D77250 #D7B650 #B5D750
triadic
#D7B650 #50D7B6 #B650D7
tetradic
#D7B650 #50D772 #5071D7 #D750B5
square
#D7B650 #50D772 #5071D7 #D750B5
split-complementary
#D7B650 #50B5D7 #7250D7
monochromatic
#8C7220 #BE9A2B #D7B650 #E2CB82 #EEE0B4

Accessibility & contrast

On white

1.96
#D7B650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D7B650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B650
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B650#FFFFFF#000000##000000
##D7B6501.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#D0BD55
Tritanopia (blue-blind)
#E7A8A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b650;
/* rgb */ color: rgb(215, 182, 80);
/* oklch */ color: oklch(78.6% 0.126 91.3);
Tailwind
colors: {
  custom: {
    50: '#e7cb85',
    500: '#d7b650',
    950: '#000000',
  },
}
SCSS
$custom: #d7b650;
$custom-light: #e7cb85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b650",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 80
  },
  "hsl": {
    "h": 45.333,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78581,
    "c": 0.12594,
    "h": 91.3
  },
  "luminance": 0.48482
}

Semantic roles & 50–950 ramp

primary
#D7B650
secondary
#A6B4DC
accent
#6AE642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B650

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

Preview Lab → · Contrast checker → · Palette generator →

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