#987827#987827

#987827 is a mid, moderate orange. Relative luminance 0.203; OKLCH L 58.9% C 0.104 H 86.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#987827
RGBrgb(152, 120, 39)
HSLhsl(43, 59%, 37%)
HSVhsv(43, 74%, 60%)
CMYKcmyk(0%, 21.1%, 74.3%, 40.4%)
CIE-LABlab(52.13, 3.91, 46.93)
CIE-LCHlch(52.13, 47.10, 85.23°)
OKLaboklab(58.88% 0.0064 0.1041)
OKLCHoklch(58.88% 0.104 86.5)
XYZxyz(20.0328, 20.2562, 4.7738)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987827 #274798
analogous
#984027 #987827 #7F9827
triadic
#987827 #279878 #782798
tetradic
#987827 #279840 #274798 #98277F
square
#987827 #279840 #274798 #98277F
split-complementary
#987827 #277F98 #402798
monochromatic
#372B0E #67521B #987827 #C99E33 #D7B663

Accessibility & contrast

On white

4.16
#987827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#987827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987827
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987827#FFFFFF#000000##000000
##9878271.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#A56D68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #987827;
/* rgb */ color: rgb(152, 120, 39);
/* oklch */ color: oklch(58.9% 0.104 86.5);
Tailwind
colors: {
  custom: {
    50: '#ba9e67',
    500: '#987827',
    950: '#000000',
  },
}
SCSS
$custom: #987827;
$custom-light: #ba9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#987827",
  "rgb": {
    "r": 152,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 43.009,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.1043,
    "h": 86.5
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#987827
secondary
#5E79BC
accent
#72E245
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987827

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

Preview Lab → · Contrast checker → · Palette generator →

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