#D4A831#D4A831

#D4A831 is a light, vivid orange. Relative luminance 0.422; OKLCH L 75.2% C 0.139 H 87.2°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#D4A831
RGBrgb(212, 168, 49)
HSLhsl(44, 65%, 51%)
HSVhsv(44, 77%, 83%)
CMYKcmyk(0%, 20.8%, 76.9%, 16.9%)
CIE-LABlab(71.03, 4.85, 63.38)
CIE-LCHlch(71.03, 63.57, 85.63°)
OKLaboklab(75.21% 0.0067 0.1384)
OKLCHoklch(75.21% 0.139 87.2)
XYZxyz(41.7110, 42.2269, 8.8588)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A831 #315DD4
analogous
#D45631 #D4A831 #AED431
triadic
#D4A831 #31D4A8 #A831D4
tetradic
#D4A831 #31D456 #315DD4 #D431AE
square
#D4A831 #31D456 #315DD4 #D431AE
split-complementary
#D4A831 #31AED4 #5631D4
monochromatic
#735A18 #A58223 #D4A831 #DFBD64 #E9D396

Accessibility & contrast

On white

2.22
#D4A831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#D4A831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A831
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A831#FFFFFF#000000##000000
##D4A8311.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71B
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#E69991
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d4a831;
/* rgb */ color: rgb(212, 168, 49);
/* oklch */ color: oklch(75.2% 0.139 87.2);
Tailwind
colors: {
  custom: {
    50: '#e6c172',
    500: '#d4a831',
    950: '#000000',
  },
}
SCSS
$custom: #d4a831;
$custom-light: #e6c172;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a831",
  "rgb": {
    "r": 212,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 43.804,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75205,
    "c": 0.1386,
    "h": 87.2
  },
  "luminance": 0.42224
}

Semantic roles & 50–950 ramp

primary
#D4A831
secondary
#8CA0D4
accent
#6DE83F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D4A831

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

Preview Lab → · Contrast checker → · Palette generator →

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