#987231#987231

#987231 is a mid, moderate orange. Relative luminance 0.189; OKLCH L 57.7% C 0.095 H 78.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#987231
RGBrgb(152, 114, 49)
HSLhsl(38, 51%, 39%)
HSVhsv(38, 68%, 60%)
CMYKcmyk(0%, 25%, 67.8%, 40.4%)
CIE-LABlab(50.61, 7.90, 40.77)
CIE-LCHlch(50.61, 41.53, 79.04°)
OKLaboklab(57.71% 0.0193 0.0929)
OKLCHoklch(57.71% 0.095 78.2)
XYZxyz(19.5218, 18.9332, 5.5314)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987231 #315798
analogous
#983F31 #987231 #8B9831
triadic
#987231 #319872 #723198
tetradic
#987231 #31983F #315798 #98318B
square
#987231 #31983F #315798 #98318B
split-complementary
#987231 #318B98 #3F3198
monochromatic
#3B2D13 #6A4F22 #987231 #C39444 #D2AE72

Accessibility & contrast

On white

4.39
#987231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#987231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987231
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987231#FFFFFF#000000##000000
##9872311.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81732A
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#A56764
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #987231;
/* rgb */ color: rgb(152, 114, 49);
/* oklch */ color: oklch(57.7% 0.095 78.2);
Tailwind
colors: {
  custom: {
    50: '#ba9a6c',
    500: '#987231',
    950: '#000000',
  },
}
SCSS
$custom: #987231;
$custom-light: #ba9a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#987231",
  "rgb": {
    "r": 152,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 37.864,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.09486,
    "h": 78.2
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#987231
secondary
#6B88B9
accent
#81DB4D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E07
muted
#817E7A

Preview Lab

Preview with #987231

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

Preview Lab → · Contrast checker → · Palette generator →

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