#89771F#89771F

#89771F is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.106 H 97.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#89771F
RGBrgb(137, 119, 31)
HSLhsl(50, 63%, 33%)
HSVhsv(50, 77%, 54%)
CMYKcmyk(0%, 13.1%, 77.4%, 46.3%)
CIE-LABlab(50.23, -2.87, 47.79)
CIE-LCHlch(50.23, 47.88, 93.44°)
OKLaboklab(57% -0.013 0.1049)
OKLCHoklch(57% 0.106 97.1)
XYZxyz(17.1616, 18.6119, 3.9846)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89771F #1F3189
analogous
#89421F #89771F #66891F
triadic
#89771F #1F8977 #771F89
tetradic
#89771F #1F8942 #1F3189 #891F66
square
#89771F #1F8942 #1F3189 #891F66
split-complementary
#89771F #1F6689 #421F89
monochromatic
#252008 #574C14 #89771F #BBA22A #D6BF4C

Accessibility & contrast

On white

4.45
#89771F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#89771F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89771F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89771F#FFFFFF#000000##000000
##89771F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740E
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#946D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #89771f;
/* rgb */ color: rgb(137, 119, 31);
/* oklch */ color: oklch(57.0% 0.106 97.1);
Tailwind
colors: {
  custom: {
    50: '#af9d62',
    500: '#89771f',
    950: '#000000',
  },
}
SCSS
$custom: #89771f;
$custom-light: #af9d62;
$custom-dark: #000000;
JSON
{
  "hex": "#89771f",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 49.811,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57,
    "c": 0.10572,
    "h": 97.1
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#89771F
secondary
#4B5DB9
accent
#5EE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #89771F

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

Preview Lab → · Contrast checker → · Palette generator →

#89771F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva