#987338#987338

#987338 is a mid, moderate orange. Relative luminance 0.192; OKLCH L 58.0% C 0.089 H 77.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#987338
RGBrgb(152, 115, 56)
HSLhsl(37, 46%, 41%)
HSVhsv(37, 63%, 60%)
CMYKcmyk(0%, 24.3%, 63.2%, 40.4%)
CIE-LABlab(50.95, 7.80, 37.63)
CIE-LCHlch(50.95, 38.43, 78.28°)
OKLaboklab(58% 0.02 0.0872)
OKLCHoklch(58% 0.089 77.1)
XYZxyz(19.7946, 19.2238, 6.4086)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987338 #385D98
analogous
#984338 #987338 #8D9838
triadic
#987338 #389873 #733898
tetradic
#987338 #389843 #385D98 #98388D
square
#987338 #389843 #385D98 #98388D
split-complementary
#987338 #388D98 #433898
monochromatic
#3F2F17 #6B5128 #987338 #BE934F #CFAF7C

Accessibility & contrast

On white

4.33
#987338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#987338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987338
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987338#FFFFFF#000000##000000
##9873381.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#817432
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#A56966
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #987338;
/* rgb */ color: rgb(152, 115, 56);
/* oklch */ color: oklch(58.0% 0.089 77.1);
Tailwind
colors: {
  custom: {
    50: '#b99b71',
    500: '#987338',
    950: '#000000',
  },
}
SCSS
$custom: #987338;
$custom-light: #b99b71;
$custom-dark: #000000;
JSON
{
  "hex": "#987338",
  "rgb": {
    "r": 152,
    "g": 115,
    "b": 56
  },
  "hsl": {
    "h": 36.875,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58002,
    "c": 0.08949,
    "h": 77.1
  },
  "luminance": 0.19222
}

Semantic roles & 50–950 ramp

primary
#987338
secondary
#748EB8
accent
#85D652
background
#FBF9F6
surface
#F7F2EC
border
#D0CCC7
text
#120E08
muted
#817E7B

Preview Lab

Preview with #987338

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

Preview Lab → · Contrast checker → · Palette generator →

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