#D9B45F#D9B45F

#D9B45F is a light, moderate orange. Relative luminance 0.482; OKLCH L 78.5% C 0.112 H 86.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#D9B45F
RGBrgb(217, 180, 95)
HSLhsl(42, 62%, 61%)
HSVhsv(42, 56%, 85%)
CMYKcmyk(0%, 17.1%, 56.2%, 14.9%)
CIE-LABlab(74.97, 3.31, 47.77)
CIE-LCHlch(74.97, 47.89, 86.04°)
OKLaboklab(78.55% 0.0075 0.1122)
OKLCHoklch(78.55% 0.112 86.2)
XYZxyz(47.0042, 48.2230, 17.6564)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B45F #5F84D9
analogous
#D9775F #D9B45F #C1D95F
triadic
#D9B45F #5FD9B4 #B45FD9
tetradic
#D9B45F #5FD977 #5F84D9 #D95FC1
square
#D9B45F #5FD977 #5F84D9 #D95FC1
split-complementary
#D9B45F #5FC1D9 #775FD9
monochromatic
#997624 #CB9C30 #D9B45F #E5CB90 #F0E2C2

Accessibility & contrast

On white

1.97
#D9B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#D9B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B45F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B45F#FFFFFF#000000##000000
##D9B45F1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B357
Deuteranopia (green-blind)
#CFBD62
Tritanopia (blue-blind)
#E9A7A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b45f;
/* rgb */ color: rgb(217, 180, 95);
/* oklch */ color: oklch(78.5% 0.112 86.2);
Tailwind
colors: {
  custom: {
    50: '#e7ca8f',
    500: '#d9b45f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b45f;
$custom-light: #e7ca8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b45f",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 41.803,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.78546,
    "c": 0.11249,
    "h": 86.2
  },
  "luminance": 0.4822
}

Semantic roles & 50–950 ramp

primary
#D9B45F
secondary
#B3C1E1
accent
#51C91C
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D9B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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