#987945#987945

#987945 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.080 H 79.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#987945
RGBrgb(152, 121, 69)
HSLhsl(38, 38%, 43%)
HSVhsv(38, 55%, 60%)
CMYKcmyk(0%, 20.4%, 54.6%, 40.4%)
CIE-LABlab(52.71, 5.45, 32.85)
CIE-LCHlch(52.71, 33.30, 80.59°)
OKLaboklab(59.44% 0.0149 0.0782)
OKLCHoklch(59.44% 0.08 79.2)
XYZxyz(20.8614, 20.7810, 8.5414)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987945 #456498
analogous
#984F45 #987945 #8D9845
triadic
#987945 #459879 #794598
tetradic
#987945 #45984F #456498 #98458D
square
#987945 #45984F #456498 #98458D
split-complementary
#987945 #458D98 #4F4598
monochromatic
#44361F #6E5732 #987945 #B89862 #CBB48C

Accessibility & contrast

On white

4.07
#987945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#987945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987945
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987945#FFFFFF#000000##000000
##9879451.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867941
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#A4706D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #987945;
/* rgb */ color: rgb(152, 121, 69);
/* oklch */ color: oklch(59.4% 0.080 79.2);
Tailwind
colors: {
  custom: {
    50: '#b99f7a',
    500: '#987945',
    950: '#000000',
  },
}
SCSS
$custom: #987945;
$custom-light: #b99f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#987945",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 37.59,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.07964,
    "h": 79.2
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#987945
secondary
#8296B6
accent
#85CE5A
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#120E09
muted
#817E7B

Preview Lab

Preview with #987945

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

Preview Lab → · Contrast checker → · Palette generator →

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