#89841A#89841A

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

Color values

HEX#89841A
RGBrgb(137, 132, 26)
HSLhsl(57, 68%, 32%)
HSVhsv(57, 81%, 54%)
CMYKcmyk(0%, 3.6%, 81%, 46.3%)
CIE-LABlab(53.92, -10.27, 52.89)
CIE-LCHlch(53.92, 53.88, 100.99°)
OKLaboklab(59.92% -0.0343 0.1148)
OKLCHoklch(59.92% 0.12 106.6)
XYZxyz(18.7550, 21.8962, 4.2155)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89841A #1A1F89
analogous
#894C1A #89841A #57891A
triadic
#89841A #1A8984 #841A89
tetradic
#89841A #1A894C #1A1F89 #891A57
square
#89841A #1A894C #1A1F89 #891A57
split-complementary
#89841A #1A5789 #4C1A89
monochromatic
#222106 #565210 #89841A #BCB624 #DBD442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##89841A#FFFFFF#000000##000000
##89841A1.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)
#928323
Tritanopia (blue-blind)
#947B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #89841a;
/* rgb */ color: rgb(137, 132, 26);
/* oklch */ color: oklch(59.9% 0.120 106.6);
Tailwind
colors: {
  custom: {
    50: '#afa761',
    500: '#89841a',
    950: '#000000',
  },
}
SCSS
$custom: #89841a;
$custom-light: #afa761;
$custom-dark: #000000;
JSON
{
  "hex": "#89841a",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 57.297,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.11981,
    "h": 106.6
  },
  "luminance": 0.21895
}

Semantic roles & 50–950 ramp

primary
#89841A
secondary
#4348BC
accent
#45EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #89841A

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

Preview Lab → · Contrast checker → · Palette generator →

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