#D9BA4F#D9BA4F

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

Color values

HEX#D9BA4F
RGBrgb(217, 186, 79)
HSLhsl(47, 64%, 58%)
HSVhsv(47, 64%, 85%)
CMYKcmyk(0%, 14.3%, 63.6%, 14.9%)
CIE-LABlab(76.34, -0.97, 56.78)
CIE-LCHlch(76.34, 56.79, 90.98°)
OKLaboklab(79.57% -0.0068 0.1296)
OKLCHoklch(79.57% 0.13 93)
XYZxyz(47.5877, 50.4366, 14.6243)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA4F #4F6ED9
analogous
#D9754F #D9BA4F #B3D94F
triadic
#D9BA4F #4FD9BA #BA4FD9
tetradic
#D9BA4F #4FD975 #4F6ED9 #D94FB3
square
#D9BA4F #4FD975 #4F6ED9 #D94FB3
split-complementary
#D9BA4F #4FB3D9 #754FD9
monochromatic
#8F761F #C19F2A #D9BA4F #E4CE81 #EFE1B4

Accessibility & contrast

On white

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

On black

11.09
#D9BA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA4F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA4F#FFFFFF#000000##000000
##D9BA4F1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9ba4f;
/* rgb */ color: rgb(217, 186, 79);
/* oklch */ color: oklch(79.6% 0.130 93.0);
Tailwind
colors: {
  custom: {
    50: '#e8ce85',
    500: '#d9ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba4f;
$custom-light: #e8ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba4f",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 46.522,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79575,
    "c": 0.12977,
    "h": 93
  },
  "luminance": 0.50434
}

Semantic roles & 50–950 ramp

primary
#D9BA4F
secondary
#384D94
accent
#66E740
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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