#987418#987418

#987418 is a mid, moderate orange. Relative luminance 0.192; OKLCH L 57.9% C 0.111 H 85.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#987418
RGBrgb(152, 116, 24)
HSLhsl(43, 73%, 35%)
HSVhsv(43, 84%, 60%)
CMYKcmyk(0%, 23.7%, 84.2%, 40.4%)
CIE-LABlab(50.96, 5.57, 51.51)
CIE-LCHlch(50.96, 51.81, 83.83°)
OKLaboklab(57.93% 0.0095 0.1106)
OKLCHoklch(57.93% 0.111 85.1)
XYZxyz(19.3605, 19.2336, 3.5567)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987418 #183C98
analogous
#983418 #987418 #7C9818
triadic
#987418 #189874 #741898
tetradic
#987418 #189834 #183C98 #98187C
square
#987418 #189834 #183C98 #98187C
split-complementary
#987418 #187C98 #341898
monochromatic
#2E2307 #634C10 #987418 #CD9C20 #E2B748

Accessibility & contrast

On white

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

On black

4.85
#987418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987418
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987418#FFFFFF#000000##000000
##9874181.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#A66863
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #987418;
/* rgb */ color: rgb(152, 116, 24);
/* oklch */ color: oklch(57.9% 0.111 85.1);
Tailwind
colors: {
  custom: {
    50: '#bb9b5f',
    500: '#987418',
    950: '#000000',
  },
}
SCSS
$custom: #987418;
$custom-light: #bb9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#987418",
  "rgb": {
    "r": 152,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 43.125,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.11098,
    "h": 85.1
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#987418
secondary
#486BC4
accent
#6CEF38
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #987418

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

Preview Lab → · Contrast checker → · Palette generator →

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