#987727#987727

#987727 is a mid, moderate orange. Relative luminance 0.200; OKLCH L 58.7% C 0.104 H 85.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#987727
RGBrgb(152, 119, 39)
HSLhsl(42, 59%, 37%)
HSVhsv(42, 74%, 60%)
CMYKcmyk(0%, 21.7%, 74.3%, 40.4%)
CIE-LABlab(51.86, 4.48, 46.67)
CIE-LCHlch(51.86, 46.88, 84.52°)
OKLaboklab(58.66% 0.0081 0.1035)
OKLCHoklch(58.66% 0.104 85.6)
XYZxyz(19.9131, 20.0169, 4.7339)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987727 #274898
analogous
#983F27 #987727 #809827
triadic
#987727 #279877 #772798
tetradic
#987727 #27983F #274898 #982780
square
#987727 #27983F #274898 #982780
split-complementary
#987727 #278098 #3F2798
monochromatic
#372B0E #67511B #987727 #C99D33 #D7B563

Accessibility & contrast

On white

4.20
#987727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#987727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987727
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987727#FFFFFF#000000##000000
##9877271.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771B
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#A56C67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #987727;
/* rgb */ color: rgb(152, 119, 39);
/* oklch */ color: oklch(58.7% 0.104 85.6);
Tailwind
colors: {
  custom: {
    50: '#ba9d66',
    500: '#987727',
    950: '#000000',
  },
}
SCSS
$custom: #987727;
$custom-light: #ba9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#987727",
  "rgb": {
    "r": 152,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 42.478,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.10384,
    "h": 85.6
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#987727
secondary
#5E7ABC
accent
#73E245
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #987727

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

Preview Lab → · Contrast checker → · Palette generator →

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