#D9BA47#D9BA47

#D9BA47 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.136 H 93.9°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D9BA47
RGBrgb(217, 186, 71)
HSLhsl(47, 66%, 56%)
HSVhsv(47, 67%, 85%)
CMYKcmyk(0%, 14.3%, 67.3%, 14.9%)
CIE-LABlab(76.27, -1.45, 60.15)
CIE-LCHlch(76.27, 60.16, 91.38°)
OKLaboklab(79.5% -0.0091 0.1355)
OKLCHoklch(79.5% 0.136 93.9)
XYZxyz(47.3139, 50.3270, 13.1820)
Luminance0.5032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA47 #4766D9
analogous
#D97147 #D9BA47 #AFD947
triadic
#D9BA47 #47D9BA #BA47D9
tetradic
#D9BA47 #47D971 #4766D9 #D947AF
square
#D9BA47 #47D971 #4766D9 #D947AF
split-complementary
#D9BA47 #47AFD9 #7147D9
monochromatic
#89721C #BC9C27 #D9BA47 #E3CD7A #EEE0AC

Accessibility & contrast

On white

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

On black

11.06
#D9BA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA47
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA47#FFFFFF#000000##000000
##D9BA471.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#EAACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba47;
/* rgb */ color: rgb(217, 186, 71);
/* oklch */ color: oklch(79.5% 0.136 93.9);
Tailwind
colors: {
  custom: {
    50: '#e8ce80',
    500: '#d9ba47',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba47;
$custom-light: #e8ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba47",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 47.26,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79501,
    "c": 0.1358,
    "h": 93.9
  },
  "luminance": 0.50324
}

Semantic roles & 50–950 ramp

primary
#D9BA47
secondary
#35488F
accent
#63E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #D9BA47

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

Preview Lab → · Contrast checker → · Palette generator →

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