#D9BD54#D9BD54

#D9BD54 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.2% C 0.128 H 94.4°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D9BD54
RGBrgb(217, 189, 84)
HSLhsl(47, 64%, 59%)
HSVhsv(47, 61%, 85%)
CMYKcmyk(0%, 12.9%, 61.3%, 14.9%)
CIE-LABlab(77.15, -2.21, 55.44)
CIE-LCHlch(77.15, 55.49, 92.28°)
OKLaboklab(80.24% -0.0098 0.1275)
OKLCHoklch(80.24% 0.128 94.4)
XYZxyz(48.4152, 51.7894, 15.8320)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BD54 #5470D9
analogous
#D97B54 #D9BD54 #B3D954
triadic
#D9BD54 #54D9BD #BD54D9
tetradic
#D9BD54 #54D97B #5470D9 #D954B3
square
#D9BD54 #54D97B #5470D9 #D954B3
split-complementary
#D9BD54 #54B3D9 #7B54D9
monochromatic
#927A20 #C4A42C #D9BD54 #E4D086 #EFE4B8

Accessibility & contrast

On white

1.85
#D9BD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#D9BD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BD54
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BD54#FFFFFF#000000##000000
##D9BD541.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA49
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#E9B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bd54;
/* rgb */ color: rgb(217, 189, 84);
/* oklch */ color: oklch(80.2% 0.128 94.4);
Tailwind
colors: {
  custom: {
    50: '#e8d088',
    500: '#d9bd54',
    950: '#000000',
  },
}
SCSS
$custom: #d9bd54;
$custom-light: #e8d088;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bd54",
  "rgb": {
    "r": 217,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 47.368,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80236,
    "c": 0.12783,
    "h": 94.4
  },
  "luminance": 0.51787
}

Semantic roles & 50–950 ramp

primary
#D9BD54
secondary
#3A4E97
accent
#64E741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D9BD54

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

Preview Lab → · Contrast checker → · Palette generator →

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