#89831F#89831F

#89831F is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.116 H 105.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#89831F
RGBrgb(137, 131, 31)
HSLhsl(57, 63%, 33%)
HSVhsv(57, 77%, 54%)
CMYKcmyk(0%, 4.4%, 77.4%, 46.3%)
CIE-LABlab(53.65, -9.53, 50.99)
CIE-LCHlch(53.65, 51.87, 100.58°)
OKLaboklab(59.72% -0.0318 0.1117)
OKLCHoklch(59.72% 0.116 105.9)
XYZxyz(18.6809, 21.6506, 4.4910)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89831F #1F2589
analogous
#894E1F #89831F #5A891F
triadic
#89831F #1F8983 #831F89
tetradic
#89831F #1F894E #1F2589 #891F5A
square
#89831F #1F894E #1F2589 #891F5A
split-complementary
#89831F #1F5A89 #4E1F89
monochromatic
#252408 #575314 #89831F #BBB32A #D6CF4C

Accessibility & contrast

On white

3.94
#89831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#89831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89831F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89831F#FFFFFF#000000##000000
##89831F1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#947A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #89831f;
/* rgb */ color: rgb(137, 131, 31);
/* oklch */ color: oklch(59.7% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#afa663',
    500: '#89831f',
    950: '#000000',
  },
}
SCSS
$custom: #89831f;
$custom-light: #afa663;
$custom-dark: #000000;
JSON
{
  "hex": "#89831f",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 56.604,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.11616,
    "h": 105.9
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#89831F
secondary
#4B51B9
accent
#4BE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89831F

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

Preview Lab → · Contrast checker → · Palette generator →

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