#D9B93E#D9B93E

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

Color values

HEX#D9B93E
RGBrgb(217, 185, 62)
HSLhsl(48, 67%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 14.7%, 71.4%, 14.9%)
CIE-LABlab(75.95, -1.39, 63.44)
CIE-LCHlch(75.95, 63.45, 91.26°)
OKLaboklab(79.22% -0.01 0.1409)
OKLCHoklch(79.22% 0.141 94.1)
XYZxyz(46.8362, 49.8001, 11.7019)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B93E #3E5ED9
analogous
#D96C3E #D9B93E #ACD93E
triadic
#D9B93E #3ED9B9 #B93ED9
tetradic
#D9B93E #3ED96C #3E5ED9 #D93EAC
square
#D9B93E #3ED96C #3E5ED9 #D93EAC
split-complementary
#D9B93E #3EACD9 #6C3ED9
monochromatic
#836D1A #B69824 #D9B93E #E3CC71 #EDDEA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B93E#FFFFFF#000000##000000
##D9B93E1.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)
#CCB62B
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#EAAAA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b93e;
/* rgb */ color: rgb(217, 185, 62);
/* oklch */ color: oklch(79.2% 0.141 94.1);
Tailwind
colors: {
  custom: {
    50: '#e9cd7b',
    500: '#d9b93e',
    950: '#000000',
  },
}
SCSS
$custom: #d9b93e;
$custom-light: #e9cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b93e",
  "rgb": {
    "r": 217,
    "g": 185,
    "b": 62
  },
  "hsl": {
    "h": 47.613,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79224,
    "c": 0.14126,
    "h": 94.1
  },
  "luminance": 0.49797
}

Semantic roles & 50–950 ramp

primary
#D9B93E
secondary
#99A6DA
accent
#61EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B93E

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

Preview Lab → · Contrast checker → · Palette generator →

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