#98512C#98512C

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

Color values

HEX#98512C
RGBrgb(152, 81, 44)
HSLhsl(21, 55%, 38%)
HSVhsv(21, 71%, 60%)
CMYKcmyk(0%, 46.7%, 71.1%, 40.4%)
CIE-LABlab(42.37, 26.45, 34.26)
CIE-LCHlch(42.37, 43.28, 52.34°)
OKLaboklab(51.31% 0.0738 0.0781)
OKLCHoklch(51.31% 0.107 46.6)
XYZxyz(16.3474, 12.7439, 3.9813)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98512C #2C7398
analogous
#982C3D #98512C #98872C
triadic
#98512C #2C9851 #512C98
tetradic
#98512C #3D982C #2C7398 #872C98
square
#98512C #3D982C #2C7398 #872C98
split-complementary
#98512C #2C9887 #2C3D98
monochromatic
#391E11 #69381E #98512C #C66B3B #D48F6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98512C#FFFFFF#000000##FFFFFF
##98512C1.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)
#655A28
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#A64349
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #98512c;
/* rgb */ color: rgb(152, 81, 44);
/* oklch */ color: oklch(51.3% 0.107 46.6);
Tailwind
colors: {
  custom: {
    50: '#bc8367',
    500: '#98512c',
    950: '#000000',
  },
}
SCSS
$custom: #98512c;
$custom-light: #bc8367;
$custom-dark: #000000;
JSON
{
  "hex": "#98512c",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 20.556,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.10741,
    "h": 46.6
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#98512C
secondary
#659DBB
accent
#ABDE49
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130A06
muted
#827C7A

Preview Lab

Preview with #98512C

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

Preview Lab → · Contrast checker → · Palette generator →

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