#D8A252#D8A252

#D8A252 is a light, moderate orange. Relative luminance 0.410; OKLCH L 74.7% C 0.116 H 75.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D8A252
RGBrgb(216, 162, 82)
HSLhsl(36, 63%, 58%)
HSVhsv(36, 62%, 85%)
CMYKcmyk(0%, 25%, 62%, 15.3%)
CIE-LABlab(70.21, 11.53, 48.54)
CIE-LCHlch(70.21, 49.89, 76.64°)
OKLaboklab(74.75% 0.03 0.1124)
OKLCHoklch(74.75% 0.116 75.1)
XYZxyz(42.7647, 41.0519, 13.6524)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A252 #5288D8
analogous
#D85F52 #D8A252 #CBD852
triadic
#D8A252 #52D8A2 #A252D8
tetradic
#D8A252 #52D85F #5288D8 #D852CB
square
#D8A252 #52D85F #5288D8 #D852CB
split-complementary
#D8A252 #52CBD8 #5F52D8
monochromatic
#8F6320 #C1852C #D8A252 #E3BD84 #EFD8B6

Accessibility & contrast

On white

2.28
#D8A252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#D8A252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A252
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A252#FFFFFF#000000##000000
##D8A2521.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44A
Deuteranopia (green-blind)
#C3B154
Tritanopia (blue-blind)
#EA9490
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d8a252;
/* rgb */ color: rgb(216, 162, 82);
/* oklch */ color: oklch(74.7% 0.116 75.1);
Tailwind
colors: {
  custom: {
    50: '#e8bd85',
    500: '#d8a252',
    950: '#000000',
  },
}
SCSS
$custom: #d8a252;
$custom-light: #e8bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a252",
  "rgb": {
    "r": 216,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 35.821,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.74747,
    "c": 0.11635,
    "h": 75.1
  },
  "luminance": 0.41049
}

Semantic roles & 50–950 ramp

primary
#D8A252
secondary
#A8BEDD
accent
#84E642
background
#FEFBF8
surface
#FDF6EF
border
#D5D0CA
text
#17120B
muted
#85817C

Preview Lab

Preview with #D8A252

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

Preview Lab → · Contrast checker → · Palette generator →

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