#987123#987123

#987123 is a mid, moderate orange. Relative luminance 0.186; OKLCH L 57.4% C 0.104 H 80.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#987123
RGBrgb(152, 113, 35)
HSLhsl(40, 63%, 37%)
HSVhsv(40, 77%, 60%)
CMYKcmyk(0%, 25.7%, 77%, 40.4%)
CIE-LABlab(50.23, 7.71, 46.75)
CIE-LCHlch(50.23, 47.39, 80.64°)
OKLaboklab(57.38% 0.0169 0.1029)
OKLCHoklch(57.38% 0.104 80.7)
XYZxyz(19.1587, 18.6085, 4.1725)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987123 #234A98
analogous
#983723 #987123 #859823
triadic
#987123 #239871 #712398
tetradic
#987123 #239837 #234A98 #982385
square
#987123 #239837 #234A98 #982385
split-complementary
#987123 #238598 #372398
monochromatic
#35270C #664C18 #987123 #CA962E #D9B05C

Accessibility & contrast

On white

4.45
#987123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#987123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987123
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987123#FFFFFF#000000##000000
##9871231.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#A56661
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #987123;
/* rgb */ color: rgb(152, 113, 35);
/* oklch */ color: oklch(57.4% 0.104 80.7);
Tailwind
colors: {
  custom: {
    50: '#bb9964',
    500: '#987123',
    950: '#000000',
  },
}
SCSS
$custom: #987123;
$custom-light: #bb9964;
$custom-dark: #000000;
JSON
{
  "hex": "#987123",
  "rgb": {
    "r": 152,
    "g": 113,
    "b": 35
  },
  "hsl": {
    "h": 40,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.10424,
    "h": 80.7
  },
  "luminance": 0.18607
}

Semantic roles & 50–950 ramp

primary
#987123
secondary
#597BBE
accent
#79E642
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#120D06
muted
#817E7A

Preview Lab

Preview with #987123

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

Preview Lab → · Contrast checker → · Palette generator →

#987123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva