#D7BE5F#D7BE5F

#D7BE5F is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.4% C 0.119 H 94.8°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D7BE5F
RGBrgb(215, 190, 95)
HSLhsl(48, 60%, 61%)
HSVhsv(48, 56%, 84%)
CMYKcmyk(0%, 11.6%, 55.8%, 15.7%)
CIE-LABlab(77.34, -2.77, 50.51)
CIE-LCHlch(77.34, 50.59, 93.14°)
OKLaboklab(80.38% -0.01 0.1182)
OKLCHoklch(80.38% 0.119 94.8)
XYZxyz(48.5052, 52.1024, 18.3261)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BE5F #5F78D7
analogous
#D7825F #D7BE5F #B4D75F
triadic
#D7BE5F #5FD7BE #BE5FD7
tetradic
#D7BE5F #5FD782 #5F78D7 #D75FB4
square
#D7BE5F #5FD782 #5F78D7 #D75FB4
split-complementary
#D7BE5F #5FB4D7 #825FD7
monochromatic
#967F26 #C7A832 #D7BE5F #E3D290 #EFE6C1

Accessibility & contrast

On white

1.84
#D7BE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#D7BE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BE5F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BE5F#FFFFFF#000000##000000
##D7BE5F1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#E6B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7be5f;
/* rgb */ color: rgb(215, 190, 95);
/* oklch */ color: oklch(80.4% 0.119 94.8);
Tailwind
colors: {
  custom: {
    50: '#e6d18f',
    500: '#d7be5f',
    950: '#000000',
  },
}
SCSS
$custom: #d7be5f;
$custom-light: #e6d18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7be5f",
  "rgb": {
    "r": 215,
    "g": 190,
    "b": 95
  },
  "hsl": {
    "h": 47.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80377,
    "c": 0.11863,
    "h": 94.8
  },
  "luminance": 0.521
}

Semantic roles & 50–950 ramp

primary
#D7BE5F
secondary
#3F529B
accent
#41C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7BE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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