#98781B#98781B

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

Color values

HEX#98781B
RGBrgb(152, 120, 27)
HSLhsl(45, 70%, 35%)
HSVhsv(45, 82%, 60%)
CMYKcmyk(0%, 21.1%, 82.2%, 40.4%)
CIE-LABlab(52.05, 3.40, 51.47)
CIE-LCHlch(52.05, 51.58, 86.22°)
OKLaboklab(58.79% 0.0036 0.1112)
OKLCHoklch(58.79% 0.111 88.1)
XYZxyz(19.8644, 20.1888, 3.8873)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98781B #1B3B98
analogous
#983A1B #98781B #79981B
triadic
#98781B #1B9878 #781B98
tetradic
#98781B #1B983A #1B3B98 #981B79
square
#98781B #1B983A #1B3B98 #981B79
split-complementary
#98781B #1B7998 #3A1B98
monochromatic
#302609 #644F12 #98781B #CCA124 #E0BA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98781B#FFFFFF#000000##000000
##98781B1.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)
#877704
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#A56D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #98781b;
/* rgb */ color: rgb(152, 120, 27);
/* oklch */ color: oklch(58.8% 0.111 88.1);
Tailwind
colors: {
  custom: {
    50: '#bb9e60',
    500: '#98781b',
    950: '#000000',
  },
}
SCSS
$custom: #98781b;
$custom-light: #bb9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#98781b",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 44.64,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.11123,
    "h": 88.1
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#98781B
secondary
#4D6BC2
accent
#69ED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #98781B

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

Preview Lab → · Contrast checker → · Palette generator →

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