#D7B757#D7B757

#D7B757 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.9% C 0.121 H 91.0°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#D7B757
RGBrgb(215, 183, 87)
HSLhsl(45, 62%, 59%)
HSVhsv(45, 60%, 84%)
CMYKcmyk(0%, 14.9%, 59.5%, 15.7%)
CIE-LABlab(75.45, 0.29, 52.11)
CIE-LCHlch(75.45, 52.11, 89.68°)
OKLaboklab(78.86% -0.0021 0.1207)
OKLCHoklch(78.86% 0.121 91)
XYZxyz(46.6802, 49.0046, 16.0150)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B757 #5777D7
analogous
#D77757 #D7B757 #B7D757
triadic
#D7B757 #57D7B7 #B757D7
tetradic
#D7B757 #57D777 #5777D7 #D757B7
square
#D7B757 #57D777 #5777D7 #D757B7
split-complementary
#D7B757 #57B7D7 #7757D7
monochromatic
#917523 #C29D2E #D7B757 #E3CC88 #EFE1BA

Accessibility & contrast

On white

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

On black

10.80
#D7B757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B757
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B757#FFFFFF#000000##000000
##D7B7571.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54D
Deuteranopia (green-blind)
#D1BE5B
Tritanopia (blue-blind)
#E7AAA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b757;
/* rgb */ color: rgb(215, 183, 87);
/* oklch */ color: oklch(78.9% 0.121 91.0);
Tailwind
colors: {
  custom: {
    50: '#e6cc89',
    500: '#d7b757',
    950: '#000000',
  },
}
SCSS
$custom: #d7b757;
$custom-light: #e6cc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b757",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 45,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78859,
    "c": 0.12076,
    "h": 91
  },
  "luminance": 0.49002
}

Semantic roles & 50–950 ramp

primary
#D7B757
secondary
#ACB8DE
accent
#6CE543
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B757

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

Preview Lab → · Contrast checker → · Palette generator →

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