#D4BF62#D4BF62

#D4BF62 is a light, moderate yellow. Relative luminance 0.521; OKLCH L 80.3% C 0.116 H 96.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D4BF62
RGBrgb(212, 191, 98)
HSLhsl(49, 57%, 61%)
HSVhsv(49, 54%, 83%)
CMYKcmyk(0%, 9.9%, 53.8%, 16.9%)
CIE-LABlab(77.37, -4.30, 49.04)
CIE-LCHlch(77.37, 49.23, 95.01°)
OKLaboklab(80.34% -0.0139 0.1154)
OKLCHoklch(80.34% 0.116 96.9)
XYZxyz(47.9885, 52.1425, 19.0896)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BF62 #6277D4
analogous
#D48662 #D4BF62 #B0D462
triadic
#D4BF62 #62D4BF #BF62D4
tetradic
#D4BF62 #62D486 #6277D4 #D462B0
square
#D4BF62 #62D486 #6277D4 #D462B0
split-complementary
#D4BF62 #62B0D4 #8662D4
monochromatic
#938028 #C3A935 #D4BF62 #E1D392 #EEE6C2

Accessibility & contrast

On white

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

On black

11.43
#D4BF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BF62
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BF62#FFFFFF#000000##000000
##D4BF621.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4bf62;
/* rgb */ color: rgb(212, 191, 98);
/* oklch */ color: oklch(80.3% 0.116 96.9);
Tailwind
colors: {
  custom: {
    50: '#e4d291',
    500: '#d4bf62',
    950: '#000000',
  },
}
SCSS
$custom: #d4bf62;
$custom-light: #e4d291;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bf62",
  "rgb": {
    "r": 212,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 48.947,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80343,
    "c": 0.11622,
    "h": 96.9
  },
  "luminance": 0.5214
}

Semantic roles & 50–950 ramp

primary
#D4BF62
secondary
#425299
accent
#3FC521
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D4BF62

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

Preview Lab → · Contrast checker → · Palette generator →

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