#D8A02F#D8A02F

#D8A02F is a light, vivid orange. Relative luminance 0.399; OKLCH L 74.0% C 0.138 H 80.3°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#D8A02F
RGBrgb(216, 160, 47)
HSLhsl(40, 68%, 52%)
HSVhsv(40, 78%, 85%)
CMYKcmyk(0%, 25.9%, 78.2%, 15.3%)
CIE-LABlab(69.43, 10.79, 62.77)
CIE-LCHlch(69.43, 63.69, 80.25°)
OKLaboklab(74.05% 0.0234 0.1365)
OKLCHoklch(74.05% 0.138 80.3)
XYZxyz(41.4057, 39.9490, 8.2190)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A02F #2F67D8
analogous
#D84C2F #D8A02F #BCD82F
triadic
#D8A02F #2FD8A0 #A02FD8
tetradic
#D8A02F #2FD84C #2F67D8 #D82FBC
square
#D8A02F #2FD84C #2F67D8 #D82FBC
split-complementary
#D8A02F #2FBCD8 #4C2FD8
monochromatic
#765716 #AA7C20 #D8A02F #E2B863 #EBCF96

Accessibility & contrast

On white

2.34
#D8A02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#D8A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A02F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A02F#FFFFFF#000000##000000
##D8A02F1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11A
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#EB908A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d8a02f;
/* rgb */ color: rgb(216, 160, 47);
/* oklch */ color: oklch(74.0% 0.138 80.3);
Tailwind
colors: {
  custom: {
    50: '#e9bb70',
    500: '#d8a02f',
    950: '#000000',
  },
}
SCSS
$custom: #d8a02f;
$custom-light: #e9bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a02f",
  "rgb": {
    "r": 216,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 40.118,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74046,
    "c": 0.13849,
    "h": 80.3
  },
  "luminance": 0.39946
}

Semantic roles & 50–950 ramp

primary
#D8A02F
secondary
#8CA5D7
accent
#76EB3D
background
#FFFBF7
surface
#FEF6ED
border
#D6D0C8
text
#171108
muted
#85807B

Preview Lab

Preview with #D8A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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