#98781A#98781A

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

Color values

HEX#98781A
RGBrgb(152, 120, 26)
HSLhsl(45, 71%, 35%)
HSVhsv(45, 83%, 60%)
CMYKcmyk(0%, 21.1%, 82.9%, 40.4%)
CIE-LABlab(52.04, 3.37, 51.80)
CIE-LCHlch(52.04, 51.91, 86.28°)
OKLaboklab(58.79% 0.0034 0.1117)
OKLCHoklch(58.79% 0.112 88.3)
XYZxyz(19.8531, 20.1843, 3.8274)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98781A #1A3A98
analogous
#98391A #98781A #79981A
triadic
#98781A #1A9878 #781A98
tetradic
#98781A #1A9839 #1A3A98 #981A79
square
#98781A #1A9839 #1A3A98 #981A79
split-complementary
#98781A #1A7998 #391A98
monochromatic
#2F2508 #644F11 #98781A #CCA123 #E0BB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98781A#FFFFFF#000000##000000
##98781A1.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)
#877702
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#A56D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #98781a;
/* rgb */ color: rgb(152, 120, 26);
/* oklch */ color: oklch(58.8% 0.112 88.3);
Tailwind
colors: {
  custom: {
    50: '#bb9e60',
    500: '#98781a',
    950: '#000000',
  },
}
SCSS
$custom: #98781a;
$custom-light: #bb9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#98781a",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 44.762,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.11171,
    "h": 88.3
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#98781A
secondary
#4B6AC2
accent
#68EE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #98781A

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

Preview Lab → · Contrast checker → · Palette generator →

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