#89821F#89821F

#89821F is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.115 H 105.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#89821F
RGBrgb(137, 130, 31)
HSLhsl(56, 63%, 33%)
HSVhsv(56, 77%, 54%)
CMYKcmyk(0%, 5.1%, 77.4%, 46.3%)
CIE-LABlab(53.37, -8.98, 50.72)
CIE-LCHlch(53.37, 51.51, 100.04°)
OKLaboklab(59.49% -0.0302 0.1112)
OKLCHoklch(59.49% 0.115 105.2)
XYZxyz(18.5473, 21.3833, 4.4465)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89821F #1F2689
analogous
#894D1F #89821F #5B891F
triadic
#89821F #1F8982 #821F89
tetradic
#89821F #1F894D #1F2689 #891F5B
square
#89821F #1F894D #1F2689 #891F5B
split-complementary
#89821F #1F5B89 #4D1F89
monochromatic
#252308 #575314 #89821F #BBB12A #D6CD4C

Accessibility & contrast

On white

3.98
#89821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#89821F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89821F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89821F#FFFFFF#000000##000000
##89821F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#94796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #89821f;
/* rgb */ color: rgb(137, 130, 31);
/* oklch */ color: oklch(59.5% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#afa663',
    500: '#89821f',
    950: '#000000',
  },
}
SCSS
$custom: #89821f;
$custom-light: #afa663;
$custom-dark: #000000;
JSON
{
  "hex": "#89821f",
  "rgb": {
    "r": 137,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 56.038,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.1152,
    "h": 105.2
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#89821F
secondary
#4B52B9
accent
#4DE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89821F

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

Preview Lab → · Contrast checker → · Palette generator →

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