#98512A#98512A

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

Color values

HEX#98512A
RGBrgb(152, 81, 42)
HSLhsl(21, 57%, 38%)
HSVhsv(21, 72%, 60%)
CMYKcmyk(0%, 46.7%, 72.4%, 40.4%)
CIE-LABlab(42.35, 26.33, 35.32)
CIE-LCHlch(42.35, 44.05, 53.29°)
OKLaboklab(51.29% 0.0731 0.0799)
OKLCHoklch(51.29% 0.108 47.6)
XYZxyz(16.3107, 12.7293, 3.7881)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98512A #2A7198
analogous
#982A3A #98512A #98882A
triadic
#98512A #2A9851 #512A98
tetradic
#98512A #3A982A #2A7198 #882A98
square
#98512A #3A982A #2A7198 #882A98
split-complementary
#98512A #2A9888 #2A3A98
monochromatic
#381E10 #68371D #98512A #C86B37 #D58E67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98512A#FFFFFF#000000##FFFFFF
##98512A1.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)
#655A26
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#A64348
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #98512a;
/* rgb */ color: rgb(152, 81, 42);
/* oklch */ color: oklch(51.3% 0.108 47.6);
Tailwind
colors: {
  custom: {
    50: '#bc8365',
    500: '#98512a',
    950: '#000000',
  },
}
SCSS
$custom: #98512a;
$custom-light: #bc8365;
$custom-dark: #000000;
JSON
{
  "hex": "#98512a",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 21.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.10832,
    "h": 47.6
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#98512A
secondary
#629CBB
accent
#AAE048
background
#FCF8F6
surface
#F8EFEB
border
#D1CAC6
text
#130A06
muted
#827C7A

Preview Lab

Preview with #98512A

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

Preview Lab → · Contrast checker → · Palette generator →

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