#D9BA3F#D9BA3F

#D9BA3F is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.141 H 94.6°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D9BA3F
RGBrgb(217, 186, 63)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 14.3%, 71%, 14.9%)
CIE-LABlab(76.21, -1.87, 63.31)
CIE-LCHlch(76.21, 63.34, 91.69°)
OKLaboklab(79.44% -0.0113 0.1408)
OKLCHoklch(79.44% 0.141 94.6)
XYZxyz(47.0738, 50.2310, 11.9177)
Luminance0.5023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BA3F #3F5ED9
analogous
#D96D3F #D9BA3F #ABD93F
triadic
#D9BA3F #3FD9BA #BA3FD9
tetradic
#D9BA3F #3FD96D #3F5ED9 #D93FAB
square
#D9BA3F #3FD96D #3F5ED9 #D93FAB
split-complementary
#D9BA3F #3FABD9 #6D3FD9
monochromatic
#846E1A #B79924 #D9BA3F #E3CC72 #EDDFA5

Accessibility & contrast

On white

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

On black

11.05
#D9BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BA3F
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BA3F#FFFFFF#000000##000000
##D9BA3F1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#EAACA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d9ba3f;
/* rgb */ color: rgb(217, 186, 63);
/* oklch */ color: oklch(79.4% 0.141 94.6);
Tailwind
colors: {
  custom: {
    50: '#e9ce7b',
    500: '#d9ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #d9ba3f;
$custom-light: #e9ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ba3f",
  "rgb": {
    "r": 217,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 47.922,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79435,
    "c": 0.14126,
    "h": 94.6
  },
  "luminance": 0.50228
}

Semantic roles & 50–950 ramp

primary
#D9BA3F
secondary
#32448A
accent
#61EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D9BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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