#98512B#98512B

#98512B is a mid, moderate orange. Relative luminance 0.127; OKLCH L 51.3% C 0.108 H 47.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#98512B
RGBrgb(152, 81, 43)
HSLhsl(21, 56%, 38%)
HSVhsv(21, 72%, 60%)
CMYKcmyk(0%, 46.7%, 71.7%, 40.4%)
CIE-LABlab(42.36, 26.39, 34.79)
CIE-LCHlch(42.36, 43.67, 52.82°)
OKLaboklab(51.3% 0.0734 0.079)
OKLCHoklch(51.3% 0.108 47.1)
XYZxyz(16.3288, 12.7365, 3.8835)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98512B #2B7298
analogous
#982B3C #98512B #98872B
triadic
#98512B #2B9851 #512B98
tetradic
#98512B #3C982B #2B7298 #872B98
square
#98512B #3C982B #2B7298 #872B98
split-complementary
#98512B #2B9887 #2B3C98
monochromatic
#391E10 #68381E #98512B #C76B39 #D58E69

Accessibility & contrast

On white

5.92
#98512B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#98512B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98512B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98512B#FFFFFF#000000##FFFFFF
##98512B1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A27
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#A64349
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #98512b;
/* rgb */ color: rgb(152, 81, 43);
/* oklch */ color: oklch(51.3% 0.108 47.1);
Tailwind
colors: {
  custom: {
    50: '#bc8366',
    500: '#98512b',
    950: '#000000',
  },
}
SCSS
$custom: #98512b;
$custom-light: #bc8366;
$custom-dark: #000000;
JSON
{
  "hex": "#98512b",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 20.917,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.10786,
    "h": 47.1
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#98512B
secondary
#649DBB
accent
#ABDF49
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130A06
muted
#827C7A

Preview Lab

Preview with #98512B

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

Preview Lab → · Contrast checker → · Palette generator →

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