#D9BA4E#D9BA4E

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

Color values

HEX#D9BA4E
RGBrgb(217, 186, 78)
HSLhsl(47, 65%, 58%)
HSVhsv(47, 64%, 85%)
CMYKcmyk(0%, 14.3%, 64.1%, 14.9%)
CIE-LABlab(76.33, -1.04, 57.21)
CIE-LCHlch(76.33, 57.22, 91.04°)
OKLaboklab(79.57% -0.0071 0.1304)
OKLCHoklch(79.57% 0.131 93.1)
XYZxyz(47.5516, 50.4221, 14.4340)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA4E #4E6DD9
analogous
#D9754E #D9BA4E #B2D94E
triadic
#D9BA4E #4ED9BA #BA4ED9
tetradic
#D9BA4E #4ED975 #4E6DD9 #D94EB2
square
#D9BA4E #4ED975 #4E6DD9 #D94EB2
split-complementary
#D9BA4E #4EB2D9 #754ED9
monochromatic
#8E751F #C09F29 #D9BA4E #E4CE80 #EFE1B3

Accessibility & contrast

On white

1.89
#D9BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BA4E#FFFFFF#000000##000000
##D9BA4E1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB742
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#EAACA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba4e;
/* rgb */ color: rgb(217, 186, 78);
/* oklch */ color: oklch(79.6% 0.131 93.1);
Tailwind
colors: {
  custom: {
    50: '#e8ce84',
    500: '#d9ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba4e;
$custom-light: #e8ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba4e",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 46.619,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79565,
    "c": 0.13055,
    "h": 93.1
  },
  "luminance": 0.5042
}

Semantic roles & 50–950 ramp

primary
#D9BA4E
secondary
#384C94
accent
#66E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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