#89781F#89781F

#89781F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.106 H 97.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#89781F
RGBrgb(137, 120, 31)
HSLhsl(50, 63%, 33%)
HSVhsv(50, 77%, 54%)
CMYKcmyk(0%, 12.4%, 77.4%, 46.3%)
CIE-LABlab(50.51, -3.43, 48.06)
CIE-LCHlch(50.51, 48.18, 94.09°)
OKLaboklab(57.22% -0.0146 0.1055)
OKLCHoklch(57.22% 0.107 97.9)
XYZxyz(17.2812, 18.8511, 4.0244)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89781F #1F3089
analogous
#89431F #89781F #65891F
triadic
#89781F #1F8978 #781F89
tetradic
#89781F #1F8943 #1F3089 #891F65
square
#89781F #1F8943 #1F3089 #891F65
split-complementary
#89781F #1F6589 #431F89
monochromatic
#252108 #574C14 #89781F #BBA42A #D6C04C

Accessibility & contrast

On white

4.40
#89781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#89781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89781F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89781F#FFFFFF#000000##000000
##89781F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#946E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #89781f;
/* rgb */ color: rgb(137, 120, 31);
/* oklch */ color: oklch(57.2% 0.106 97.9);
Tailwind
colors: {
  custom: {
    50: '#af9e62',
    500: '#89781f',
    950: '#000000',
  },
}
SCSS
$custom: #89781f;
$custom-light: #af9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#89781f",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 50.377,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57224,
    "c": 0.1065,
    "h": 97.9
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#89781F
secondary
#4B5CB9
accent
#5CE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #89781F

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

Preview Lab → · Contrast checker → · Palette generator →

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