#89841B#89841B

#89841B is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.119 H 106.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#89841B
RGBrgb(137, 132, 27)
HSLhsl(57, 67%, 32%)
HSVhsv(57, 80%, 54%)
CMYKcmyk(0%, 3.6%, 80.3%, 46.3%)
CIE-LABlab(53.92, -10.24, 52.58)
CIE-LCHlch(53.92, 53.56, 101.02°)
OKLaboklab(59.93% -0.0341 0.1143)
OKLCHoklch(59.93% 0.119 106.6)
XYZxyz(18.7664, 21.9007, 4.2754)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89841B #1B2089
analogous
#894D1B #89841B #57891B
triadic
#89841B #1B8984 #841B89
tetradic
#89841B #1B894D #1B2089 #891B57
square
#89841B #1B894D #1B2089 #891B57
split-complementary
#89841B #1B5789 #4D1B89
monochromatic
#232107 #565311 #89841B #BCB525 #DAD344

Accessibility & contrast

On white

3.90
#89841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#89841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89841B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89841B#FFFFFF#000000##000000
##89841B1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#947B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #89841b;
/* rgb */ color: rgb(137, 132, 27);
/* oklch */ color: oklch(59.9% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#afa762',
    500: '#89841b',
    950: '#000000',
  },
}
SCSS
$custom: #89841b;
$custom-light: #afa762;
$custom-dark: #000000;
JSON
{
  "hex": "#89841b",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 57.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.11931,
    "h": 106.6
  },
  "luminance": 0.219
}

Semantic roles & 50–950 ramp

primary
#89841B
secondary
#444ABC
accent
#46EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #89841B

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

Preview Lab → · Contrast checker → · Palette generator →

#89841B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva