#D9B93F#D9B93F

#D9B93F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.141 H 94.0°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D9B93F
RGBrgb(217, 185, 63)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 14.7%, 71%, 14.9%)
CIE-LABlab(75.95, -1.34, 63.06)
CIE-LCHlch(75.95, 63.07, 91.22°)
OKLaboklab(79.23% -0.0098 0.1403)
OKLCHoklch(79.23% 0.141 94)
XYZxyz(46.8639, 49.8111, 11.8478)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B93F #3F5FD9
analogous
#D96C3F #D9B93F #ACD93F
triadic
#D9B93F #3FD9B9 #B93FD9
tetradic
#D9B93F #3FD96C #3F5FD9 #D93FAC
square
#D9B93F #3FD96C #3F5FD9 #D93FAC
split-complementary
#D9B93F #3FACD9 #6C3FD9
monochromatic
#846E1A #B79824 #D9B93F #E3CC72 #EDDEA5

Accessibility & contrast

On white

1.92
#D9B93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D9B93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B93F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B93F#FFFFFF#000000##000000
##D9B93F1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62D
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#EAAAA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b93f;
/* rgb */ color: rgb(217, 185, 63);
/* oklch */ color: oklch(79.2% 0.141 94.0);
Tailwind
colors: {
  custom: {
    50: '#e9cd7b',
    500: '#d9b93f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b93f;
$custom-light: #e9cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b93f",
  "rgb": {
    "r": 217,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 47.532,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79232,
    "c": 0.14061,
    "h": 94
  },
  "luminance": 0.49809
}

Semantic roles & 50–950 ramp

primary
#D9B93F
secondary
#9AA7DA
accent
#62EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B93F

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

Preview Lab → · Contrast checker → · Palette generator →

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