#987938#987938

#987938 is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.3% C 0.092 H 83.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#987938
RGBrgb(152, 121, 56)
HSLhsl(41, 46%, 41%)
HSVhsv(41, 63%, 60%)
CMYKcmyk(0%, 20.4%, 63.2%, 40.4%)
CIE-LABlab(52.55, 4.39, 39.45)
CIE-LCHlch(52.55, 39.69, 83.66°)
OKLaboklab(59.26% 0.0101 0.0911)
OKLCHoklch(59.26% 0.092 83.7)
XYZxyz(20.5011, 20.6369, 6.6441)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987938 #385798
analogous
#984938 #987938 #879838
triadic
#987938 #389879 #793898
tetradic
#987938 #389849 #385798 #983887
square
#987938 #389849 #385798 #983887
split-complementary
#987938 #388798 #493898
monochromatic
#3F3217 #6B5528 #987938 #BE9A4F #CFB47C

Accessibility & contrast

On white

4.10
#987938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#987938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987938
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987938#FFFFFF#000000##000000
##9879381.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#A46F6B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #987938;
/* rgb */ color: rgb(152, 121, 56);
/* oklch */ color: oklch(59.3% 0.092 83.7);
Tailwind
colors: {
  custom: {
    50: '#b99f71',
    500: '#987938',
    950: '#000000',
  },
}
SCSS
$custom: #987938;
$custom-light: #b99f71;
$custom-dark: #000000;
JSON
{
  "hex": "#987938",
  "rgb": {
    "r": 152,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 40.625,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.09167,
    "h": 83.7
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#987938
secondary
#748AB8
accent
#7DD652
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987938

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

Preview Lab → · Contrast checker → · Palette generator →

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