#D9B04F#D9B04F

#D9B04F is a light, vivid orange. Relative luminance 0.464; OKLCH L 77.6% C 0.124 H 86.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#D9B04F
RGBrgb(217, 176, 79)
HSLhsl(42, 64%, 58%)
HSVhsv(42, 64%, 85%)
CMYKcmyk(0%, 18.9%, 63.6%, 14.9%)
CIE-LABlab(73.78, 4.29, 53.98)
CIE-LCHlch(73.78, 54.15, 85.46°)
OKLaboklab(77.56% 0.0084 0.1236)
OKLCHoklch(77.56% 0.124 86.1)
XYZxyz(45.5543, 46.3697, 13.9465)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B04F #4F78D9
analogous
#D96B4F #D9B04F #BDD94F
triadic
#D9B04F #4FD9B0 #B04FD9
tetradic
#D9B04F #4FD96B #4F78D9 #D94FBD
square
#D9B04F #4FD96B #4F78D9 #D94FBD
split-complementary
#D9B04F #4FBDD9 #6B4FD9
monochromatic
#8F6E1F #C1942A #D9B04F #E4C781 #EFDDB4

Accessibility & contrast

On white

2.04
#D9B04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#D9B04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B04F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B04F#FFFFFF#000000##000000
##D9B04F1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF45
Deuteranopia (green-blind)
#CDBA53
Tritanopia (blue-blind)
#EAA29B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d9b04f;
/* rgb */ color: rgb(217, 176, 79);
/* oklch */ color: oklch(77.6% 0.124 86.1);
Tailwind
colors: {
  custom: {
    50: '#e8c784',
    500: '#d9b04f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b04f;
$custom-light: #e8c784;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b04f",
  "rgb": {
    "r": 217,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 42.174,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77563,
    "c": 0.12392,
    "h": 86.1
  },
  "luminance": 0.46367
}

Semantic roles & 50–950 ramp

primary
#D9B04F
secondary
#A6B7DD
accent
#72E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B04F

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

Preview Lab → · Contrast checker → · Palette generator →

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