#D8BF74#D8BF74

#D8BF74 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 81.0% C 0.099 H 91.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D8BF74
RGBrgb(216, 191, 116)
HSLhsl(45, 56%, 65%)
HSVhsv(45, 46%, 85%)
CMYKcmyk(0%, 11.6%, 46.3%, 15.3%)
CIE-LABlab(77.95, -1.04, 40.94)
CIE-LCHlch(77.95, 40.95, 91.46°)
OKLaboklab(80.96% -0.0027 0.0989)
OKLCHoklch(80.96% 0.099 91.6)
XYZxyz(50.1036, 53.1236, 24.1343)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF74 #748DD8
analogous
#D88D74 #D8BF74 #BFD874
triadic
#D8BF74 #74D8BF #BF74D8
tetradic
#D8BF74 #74D88D #748DD8 #D874BF
square
#D8BF74 #74D88D #748DD8 #D874BF
split-complementary
#D8BF74 #74BFD8 #8D74D8
monochromatic
#A4862E #CBA944 #D8BF74 #E5D5A4 #F3EBD4

Accessibility & contrast

On white

1.81
#D8BF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#D8BF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF74
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF74#FFFFFF#000000##000000
##D8BF741.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6E
Deuteranopia (green-blind)
#D4C477
Tritanopia (blue-blind)
#E6B4AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d8bf74;
/* rgb */ color: rgb(216, 191, 116);
/* oklch */ color: oklch(81.0% 0.099 91.6);
Tailwind
colors: {
  custom: {
    50: '#e6d29d',
    500: '#d8bf74',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf74;
$custom-light: #e6d29d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf74",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 116
  },
  "hsl": {
    "h": 45,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80961,
    "c": 0.09891,
    "h": 91.6
  },
  "luminance": 0.53121
}

Semantic roles & 50–950 ramp

primary
#D8BF74
secondary
#4960A7
accent
#4AC422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8BF74

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

Preview Lab → · Contrast checker → · Palette generator →

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