#98781F#98781F

#98781F is a mid, moderate orange. Relative luminance 0.202; OKLCH L 58.8% C 0.109 H 87.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#98781F
RGBrgb(152, 120, 31)
HSLhsl(44, 66%, 36%)
HSVhsv(44, 80%, 60%)
CMYKcmyk(0%, 21.1%, 79.6%, 40.4%)
CIE-LABlab(52.07, 3.55, 50.07)
CIE-LCHlch(52.07, 50.20, 85.94°)
OKLaboklab(58.82% 0.0044 0.1091)
OKLCHoklch(58.82% 0.109 87.7)
XYZxyz(19.9139, 20.2086, 4.1479)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98781F #1F3F98
analogous
#983B1F #98781F #7B981F
triadic
#98781F #1F9878 #781F98
tetradic
#98781F #1F983B #1F3F98 #981F7B
square
#98781F #1F983B #1F3F98 #981F7B
split-complementary
#98781F #1F7B98 #3B1F98
monochromatic
#32280A #655015 #98781F #CBA029 #DCB955

Accessibility & contrast

On white

4.17
#98781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#98781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98781F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98781F#FFFFFF#000000##000000
##98781F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#A56D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #98781f;
/* rgb */ color: rgb(152, 120, 31);
/* oklch */ color: oklch(58.8% 0.109 87.7);
Tailwind
colors: {
  custom: {
    50: '#bb9e62',
    500: '#98781f',
    950: '#000000',
  },
}
SCSS
$custom: #98781f;
$custom-light: #bb9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#98781f",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 44.132,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58817,
    "c": 0.10915,
    "h": 87.7
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#98781F
secondary
#5370C0
accent
#6CE93F
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #98781F

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

Preview Lab → · Contrast checker → · Palette generator →

#98781F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva