#D8A12F#D8A12F

#D8A12F is a light, vivid orange. Relative luminance 0.403; OKLCH L 74.2% C 0.139 H 80.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D8A12F
RGBrgb(216, 161, 47)
HSLhsl(40, 68%, 52%)
HSVhsv(40, 78%, 85%)
CMYKcmyk(0%, 25.5%, 78.2%, 15.3%)
CIE-LABlab(69.68, 10.25, 63.00)
CIE-LCHlch(69.68, 63.83, 80.76°)
OKLaboklab(74.24% 0.0219 0.137)
OKLCHoklch(74.24% 0.139 80.9)
XYZxyz(41.5797, 40.2971, 8.2770)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A12F #2F66D8
analogous
#D84D2F #D8A12F #BBD82F
triadic
#D8A12F #2FD8A1 #A12FD8
tetradic
#D8A12F #2FD84D #2F66D8 #D82FBB
square
#D8A12F #2FD84D #2F66D8 #D82FBB
split-complementary
#D8A12F #2FBBD8 #4D2FD8
monochromatic
#765716 #AA7D20 #D8A12F #E2B863 #EBD096

Accessibility & contrast

On white

2.32
#D8A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#D8A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A12F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A12F#FFFFFF#000000##000000
##D8A12F1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21A
Deuteranopia (green-blind)
#C4B034
Tritanopia (blue-blind)
#EB918B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d8a12f;
/* rgb */ color: rgb(216, 161, 47);
/* oklch */ color: oklch(74.2% 0.139 80.9);
Tailwind
colors: {
  custom: {
    50: '#e9bc70',
    500: '#d8a12f',
    950: '#000000',
  },
}
SCSS
$custom: #d8a12f;
$custom-light: #e9bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a12f",
  "rgb": {
    "r": 216,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 40.473,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74239,
    "c": 0.13872,
    "h": 80.9
  },
  "luminance": 0.40294
}

Semantic roles & 50–950 ramp

primary
#D8A12F
secondary
#8CA4D7
accent
#75EB3D
background
#FFFBF7
surface
#FEF6ED
border
#D6D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D8A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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