#D7BD62#D7BD62

#D7BD62 is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.2% C 0.115 H 93.7°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D7BD62
RGBrgb(215, 189, 98)
HSLhsl(47, 59%, 61%)
HSVhsv(47, 54%, 84%)
CMYKcmyk(0%, 12.1%, 54.4%, 15.7%)
CIE-LABlab(77.12, -2.01, 48.81)
CIE-LCHlch(77.12, 48.85, 92.36°)
OKLaboklab(80.21% -0.0074 0.1148)
OKLCHoklch(80.21% 0.115 93.7)
XYZxyz(48.4284, 51.7263, 18.9862)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD62 #627CD7
analogous
#D78362 #D7BD62 #B7D762
triadic
#D7BD62 #62D7BD #BD62D7
tetradic
#D7BD62 #62D783 #627CD7 #D762B7
square
#D7BD62 #62D783 #627CD7 #D762B7
split-complementary
#D7BD62 #62B7D7 #8362D7
monochromatic
#987F27 #C9A733 #D7BD62 #E3D293 #F0E6C4

Accessibility & contrast

On white

1.85
#D7BD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#D7BD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD62
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD62#FFFFFF#000000##000000
##D7BD621.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA5A
Deuteranopia (green-blind)
#D4C266
Tritanopia (blue-blind)
#E6B1A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd62;
/* rgb */ color: rgb(215, 189, 98);
/* oklch */ color: oklch(80.2% 0.115 93.7);
Tailwind
colors: {
  custom: {
    50: '#e6d091',
    500: '#d7bd62',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd62;
$custom-light: #e6d091;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd62",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 98
  },
  "hsl": {
    "h": 46.667,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.11508,
    "h": 93.7
  },
  "luminance": 0.51724
}

Semantic roles & 50–950 ramp

primary
#D7BD62
secondary
#41559D
accent
#44C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7BD62

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

Preview Lab → · Contrast checker → · Palette generator →

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