#D4A731#D4A731

#D4A731 is a light, vivid orange. Relative luminance 0.419; OKLCH L 75.0% C 0.138 H 86.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#D4A731
RGBrgb(212, 167, 49)
HSLhsl(43, 65%, 51%)
HSVhsv(43, 77%, 83%)
CMYKcmyk(0%, 21.2%, 76.9%, 16.9%)
CIE-LABlab(70.77, 5.38, 63.15)
CIE-LCHlch(70.77, 63.38, 85.13°)
OKLaboklab(75.01% 0.0083 0.1379)
OKLCHoklch(75.01% 0.138 86.6)
XYZxyz(41.5271, 41.8591, 8.7975)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4A731 #315ED4
analogous
#D45531 #D4A731 #AFD431
triadic
#D4A731 #31D4A7 #A731D4
tetradic
#D4A731 #31D455 #315ED4 #D431AF
square
#D4A731 #31D455 #315ED4 #D431AF
split-complementary
#D4A731 #31AFD4 #5531D4
monochromatic
#735A18 #A58123 #D4A731 #DFBD64 #E9D296

Accessibility & contrast

On white

2.24
#D4A731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#D4A731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4A731
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4A731#FFFFFF#000000##000000
##D4A7311.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61B
Deuteranopia (green-blind)
#C6B237
Tritanopia (blue-blind)
#E69890
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d4a731;
/* rgb */ color: rgb(212, 167, 49);
/* oklch */ color: oklch(75.0% 0.138 86.6);
Tailwind
colors: {
  custom: {
    50: '#e6c072',
    500: '#d4a731',
    950: '#000000',
  },
}
SCSS
$custom: #d4a731;
$custom-light: #e6c072;
$custom-dark: #000000;
JSON
{
  "hex": "#d4a731",
  "rgb": {
    "r": 212,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 43.436,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75006,
    "c": 0.13818,
    "h": 86.6
  },
  "luminance": 0.41856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4A731

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

Preview Lab → · Contrast checker → · Palette generator →

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