#D5BF62#D5BF62

#D5BF62 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.116 H 96.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D5BF62
RGBrgb(213, 191, 98)
HSLhsl(49, 58%, 61%)
HSVhsv(49, 54%, 84%)
CMYKcmyk(0%, 10.3%, 54%, 16.5%)
CIE-LABlab(77.45, -3.88, 49.16)
CIE-LCHlch(77.45, 49.32, 94.52°)
OKLaboklab(80.44% -0.0127 0.1156)
OKLCHoklch(80.44% 0.116 96.3)
XYZxyz(48.2777, 52.2916, 19.1032)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF62 #6278D5
analogous
#D58562 #D5BF62 #B1D562
triadic
#D5BF62 #62D5BF #BF62D5
tetradic
#D5BF62 #62D585 #6278D5 #D562B1
square
#D5BF62 #62D585 #6278D5 #D562B1
split-complementary
#D5BF62 #62B1D5 #8562D5
monochromatic
#958028 #C5A935 #D5BF62 #E2D392 #EFE6C3

Accessibility & contrast

On white

1.83
#D5BF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D5BF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF62
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF62#FFFFFF#000000##000000
##D5BF621.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D5C266
Tritanopia (blue-blind)
#E4B3AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d5bf62;
/* rgb */ color: rgb(213, 191, 98);
/* oklch */ color: oklch(80.4% 0.116 96.3);
Tailwind
colors: {
  custom: {
    50: '#e4d291',
    500: '#d5bf62',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf62;
$custom-light: #e4d291;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf62",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 48.522,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80435,
    "c": 0.11634,
    "h": 96.3
  },
  "luminance": 0.5229
}

Semantic roles & 50–950 ramp

primary
#D5BF62
secondary
#41529A
accent
#40C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5BF62

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

Preview Lab → · Contrast checker → · Palette generator →

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