#D9BC57#D9BC57

#D9BC57 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 80.1% C 0.125 H 93.4°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D9BC57
RGBrgb(217, 188, 87)
HSLhsl(47, 63%, 60%)
HSVhsv(47, 60%, 85%)
CMYKcmyk(0%, 13.4%, 59.9%, 14.9%)
CIE-LABlab(76.93, -1.49, 53.82)
CIE-LCHlch(76.93, 53.84, 91.58°)
OKLaboklab(80.07% -0.0073 0.1244)
OKLCHoklch(80.07% 0.125 93.4)
XYZxyz(48.3209, 51.4087, 16.3926)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC57 #5774D9
analogous
#D97B57 #D9BC57 #B5D957
triadic
#D9BC57 #57D9BC #BC57D9
tetradic
#D9BC57 #57D97B #5774D9 #D957B5
square
#D9BC57 #57D97B #5774D9 #D957B5
split-complementary
#D9BC57 #57B5D9 #7B57D9
monochromatic
#947B21 #C6A42D #D9BC57 #E4D089 #F0E4BB

Accessibility & contrast

On white

1.86
#D9BC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#D9BC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC57
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC57#FFFFFF#000000##000000
##D9BC571.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94D
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#E9AFA6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc57;
/* rgb */ color: rgb(217, 188, 87);
/* oklch */ color: oklch(80.1% 0.125 93.4);
Tailwind
colors: {
  custom: {
    50: '#e8cf8a',
    500: '#d9bc57',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc57;
$custom-light: #e8cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc57",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 46.615,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80065,
    "c": 0.12459,
    "h": 93.4
  },
  "luminance": 0.51406
}

Semantic roles & 50–950 ramp

primary
#D9BC57
secondary
#3B5099
accent
#66E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BC57

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

Preview Lab → · Contrast checker → · Palette generator →

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