#D1BD47#D1BD47

#D1BD47 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.137 H 99.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D1BD47
RGBrgb(209, 189, 71)
HSLhsl(51, 60%, 55%)
HSVhsv(51, 66%, 82%)
CMYKcmyk(0%, 9.6%, 66%, 18%)
CIE-LABlab(76.32, -6.41, 59.97)
CIE-LCHlch(76.32, 60.31, 96.10°)
OKLaboklab(79.37% -0.0229 0.1354)
OKLCHoklch(79.37% 0.137 99.6)
XYZxyz(45.6314, 50.4075, 13.2860)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BD47 #475BD1
analogous
#D17847 #D1BD47 #A0D147
triadic
#D1BD47 #47D1BD #BD47D1
tetradic
#D1BD47 #47D178 #475BD1 #D147A0
square
#D1BD47 #47D178 #475BD1 #D147A0
split-complementary
#D1BD47 #47A0D1 #7847D1
monochromatic
#7E7020 #AF9C2C #D1BD47 #DDCF78 #E9E0A9

Accessibility & contrast

On white

1.90
#D1BD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#D1BD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BD47
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BD47#FFFFFF#000000##000000
##D1BD471.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB838
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#E1B0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d1bd47;
/* rgb */ color: rgb(209, 189, 71);
/* oklch */ color: oklch(79.4% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#e2d080',
    500: '#d1bd47',
    950: '#000000',
  },
}
SCSS
$custom: #d1bd47;
$custom-light: #e2d080;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bd47",
  "rgb": {
    "r": 209,
    "g": 189,
    "b": 71
  },
  "hsl": {
    "h": 51.304,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79367,
    "c": 0.13729,
    "h": 99.6
  },
  "luminance": 0.50405
}

Semantic roles & 50–950 ramp

primary
#D1BD47
secondary
#374286
accent
#5CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D1BD47

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

Preview Lab → · Contrast checker → · Palette generator →

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