#D9A64F#D9A64F

#D9A64F is a light, vivid orange. Relative luminance 0.426; OKLCH L 75.6% C 0.120 H 78.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#D9A64F
RGBrgb(217, 166, 79)
HSLhsl(38, 64%, 58%)
HSVhsv(38, 64%, 85%)
CMYKcmyk(0%, 23.5%, 63.6%, 14.9%)
CIE-LABlab(71.28, 9.61, 51.20)
CIE-LCHlch(71.28, 52.10, 79.37°)
OKLaboklab(75.59% 0.0239 0.1177)
OKLCHoklch(75.59% 0.12 78.5)
XYZxyz(43.6653, 42.5917, 13.3168)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9A64F #4F82D9
analogous
#D9614F #D9A64F #C7D94F
triadic
#D9A64F #4FD9A6 #A64FD9
tetradic
#D9A64F #4FD961 #4F82D9 #D94FC7
square
#D9A64F #4FD961 #4F82D9 #D94FC7
split-complementary
#D9A64F #4FC7D9 #614FD9
monochromatic
#8F651F #C1892A #D9A64F #E4BF81 #EFD9B4

Accessibility & contrast

On white

2.21
#D9A64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#D9A64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9A64F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9A64F#FFFFFF#000000##000000
##D9A64F1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#C6B452
Tritanopia (blue-blind)
#EB9893
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d9a64f;
/* rgb */ color: rgb(217, 166, 79);
/* oklch */ color: oklch(75.6% 0.120 78.5);
Tailwind
colors: {
  custom: {
    50: '#e8c083',
    500: '#d9a64f',
    950: '#000000',
  },
}
SCSS
$custom: #d9a64f;
$custom-light: #e8c083;
$custom-dark: #000000;
JSON
{
  "hex": "#d9a64f",
  "rgb": {
    "r": 217,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 37.826,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.12009,
    "h": 78.5
  },
  "luminance": 0.42589
}

Semantic roles & 50–950 ramp

primary
#D9A64F
secondary
#A6BBDD
accent
#7EE740
background
#FEFBF8
surface
#FDF7EF
border
#D5D0CA
text
#17120B
muted
#85817C

Preview Lab

Preview with #D9A64F

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

Preview Lab → · Contrast checker → · Palette generator →

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