#89841F#89841F

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

Color values

HEX#89841F
RGBrgb(137, 132, 31)
HSLhsl(57, 63%, 33%)
HSVhsv(57, 77%, 54%)
CMYKcmyk(0%, 3.6%, 77.4%, 46.3%)
CIE-LABlab(53.94, -10.07, 51.26)
CIE-LCHlch(53.94, 52.24, 101.11°)
OKLaboklab(59.95% -0.0333 0.1123)
OKLCHoklch(59.95% 0.117 106.5)
XYZxyz(18.8159, 21.9205, 4.5360)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89841F #1F2489
analogous
#894F1F #89841F #59891F
triadic
#89841F #1F8984 #841F89
tetradic
#89841F #1F894F #1F2489 #891F59
square
#89841F #1F894F #1F2489 #891F59
split-complementary
#89841F #1F5989 #4F1F89
monochromatic
#252408 #575414 #89841F #BBB42A #D6D04C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##89841F#FFFFFF#000000##000000
##89841F1.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)
#907F08
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#937B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #89841f;
/* rgb */ color: rgb(137, 132, 31);
/* oklch */ color: oklch(60.0% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#afa763',
    500: '#89841f',
    950: '#000000',
  },
}
SCSS
$custom: #89841f;
$custom-light: #afa763;
$custom-dark: #000000;
JSON
{
  "hex": "#89841f",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 57.17,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.11714,
    "h": 106.5
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

primary
#89841F
secondary
#4B50B9
accent
#49E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89841F

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

Preview Lab → · Contrast checker → · Palette generator →

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