#D98C38#D98C38

#D98C38 is a light, vivid orange. Relative luminance 0.338; OKLCH L 70.5% C 0.135 H 64.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D98C38
RGBrgb(217, 140, 56)
HSLhsl(31, 68%, 54%)
HSVhsv(31, 74%, 85%)
CMYKcmyk(0%, 35.5%, 74.2%, 14.9%)
CIE-LABlab(64.80, 22.34, 54.77)
CIE-LCHlch(64.80, 59.15, 67.81°)
OKLaboklab(70.48% 0.0582 0.1213)
OKLCHoklch(70.48% 0.135 64.4)
XYZxyz(38.7102, 33.7971, 8.2254)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98C38 #3885D9
analogous
#D93B38 #D98C38 #D6D938
triadic
#D98C38 #38D98C #8C38D9
tetradic
#D98C38 #38D93B #3885D9 #D938D6
square
#D98C38 #38D93B #3885D9 #D938D6
split-complementary
#D98C38 #38D6D9 #3B38D9
monochromatic
#7E4E18 #B26D22 #D98C38 #E3AA6B #EDC79F

Accessibility & contrast

On white

2.71
#D98C38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D98C38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98C38
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98C38#FFFFFF#000000##000000
##D98C381.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922D
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#ED7A7B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d98c38;
/* rgb */ color: rgb(217, 140, 56);
/* oklch */ color: oklch(70.5% 0.135 64.4);
Tailwind
colors: {
  custom: {
    50: '#eaad73',
    500: '#d98c38',
    950: '#000000',
  },
}
SCSS
$custom: #d98c38;
$custom-light: #eaad73;
$custom-dark: #000000;
JSON
{
  "hex": "#d98c38",
  "rgb": {
    "r": 217,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 31.304,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.13452,
    "h": 64.4
  },
  "luminance": 0.33793
}

Semantic roles & 50–950 ramp

primary
#D98C38
secondary
#94B5D9
accent
#90EB3D
background
#FFFAF7
surface
#FEF4ED
border
#D6CEC8
text
#171008
muted
#857F7B

Preview Lab

Preview with #D98C38

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

Preview Lab → · Contrast checker → · Palette generator →

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