#D7BF62#D7BF62

#D7BF62 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.117 H 95.1°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D7BF62
RGBrgb(215, 191, 98)
HSLhsl(48, 59%, 61%)
HSVhsv(48, 54%, 84%)
CMYKcmyk(0%, 11.2%, 54.4%, 15.7%)
CIE-LABlab(77.63, -3.05, 49.42)
CIE-LCHlch(77.63, 49.51, 93.54°)
OKLaboklab(80.62% -0.0105 0.1162)
OKLCHoklch(80.62% 0.117 95.1)
XYZxyz(48.8616, 52.5927, 19.1306)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF62 #627AD7
analogous
#D78562 #D7BF62 #B5D762
triadic
#D7BF62 #62D7BF #BF62D7
tetradic
#D7BF62 #62D785 #627AD7 #D762B5
square
#D7BF62 #62D785 #627AD7 #D762B5
split-complementary
#D7BF62 #62B5D7 #8562D7
monochromatic
#988127 #C9AA33 #D7BF62 #E3D393 #F0E7C4

Accessibility & contrast

On white

1.82
#D7BF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D7BF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF62
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF62#FFFFFF#000000##000000
##D7BF621.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#E6B3AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7bf62;
/* rgb */ color: rgb(215, 191, 98);
/* oklch */ color: oklch(80.6% 0.117 95.1);
Tailwind
colors: {
  custom: {
    50: '#e6d291',
    500: '#d7bf62',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf62;
$custom-light: #e6d291;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf62",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 47.692,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80619,
    "c": 0.11663,
    "h": 95.1
  },
  "luminance": 0.52591
}

Semantic roles & 50–950 ramp

primary
#D7BF62
secondary
#41539D
accent
#41C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7BF62

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

Preview Lab → · Contrast checker → · Palette generator →

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