#D7B750#D7B750

#D7B750 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.127 H 92.0°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D7B750
RGBrgb(215, 183, 80)
HSLhsl(46, 63%, 58%)
HSVhsv(46, 63%, 84%)
CMYKcmyk(0%, 14.9%, 62.8%, 15.7%)
CIE-LABlab(75.39, -0.19, 55.24)
CIE-LCHlch(75.39, 55.24, 90.19°)
OKLaboklab(78.78% -0.0043 0.1265)
OKLCHoklch(78.78% 0.127 92)
XYZxyz(46.4080, 48.8957, 14.5813)
Luminance0.4889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B750 #5070D7
analogous
#D77350 #D7B750 #B3D750
triadic
#D7B750 #50D7B7 #B750D7
tetradic
#D7B750 #50D773 #5070D7 #D750B3
square
#D7B750 #50D773 #5070D7 #D750B3
split-complementary
#D7B750 #50B3D7 #7350D7
monochromatic
#8C7320 #BE9C2B #D7B750 #E2CB82 #EEE0B4

Accessibility & contrast

On white

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

On black

10.78
#D7B750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B750
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B750#FFFFFF#000000##000000
##D7B7501.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#D1BE55
Tritanopia (blue-blind)
#E7A9A1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b750;
/* rgb */ color: rgb(215, 183, 80);
/* oklch */ color: oklch(78.8% 0.127 92.0);
Tailwind
colors: {
  custom: {
    50: '#e7cc85',
    500: '#d7b750',
    950: '#000000',
  },
}
SCSS
$custom: #d7b750;
$custom-light: #e7cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b750",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 80
  },
  "hsl": {
    "h": 45.778,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78784,
    "c": 0.12658,
    "h": 92
  },
  "luminance": 0.48893
}

Semantic roles & 50–950 ramp

primary
#D7B750
secondary
#A6B3DC
accent
#69E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B750

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

Preview Lab → · Contrast checker → · Palette generator →

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