#89821A#89821A

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

Color values

HEX#89821A
RGBrgb(137, 130, 26)
HSLhsl(56, 68%, 32%)
HSVhsv(56, 81%, 54%)
CMYKcmyk(0%, 5.1%, 81%, 46.3%)
CIE-LABlab(53.34, -9.18, 52.38)
CIE-LCHlch(53.34, 53.17, 99.95°)
OKLaboklab(59.46% -0.0313 0.1137)
OKLCHoklch(59.46% 0.118 105.4)
XYZxyz(18.4864, 21.3589, 4.1260)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89821A #1A2189
analogous
#894B1A #89821A #59891A
triadic
#89821A #1A8982 #821A89
tetradic
#89821A #1A894B #1A2189 #891A59
square
#89821A #1A894B #1A2189 #891A59
split-complementary
#89821A #1A5989 #4B1A89
monochromatic
#222006 #565110 #89821A #BCB324 #DBD242

Accessibility & contrast

On white

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

On black

5.27
#89821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89821A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89821A#FFFFFF#000000##000000
##89821A1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #89821a;
/* rgb */ color: rgb(137, 130, 26);
/* oklch */ color: oklch(59.5% 0.118 105.4);
Tailwind
colors: {
  custom: {
    50: '#afa661',
    500: '#89821a',
    950: '#000000',
  },
}
SCSS
$custom: #89821a;
$custom-light: #afa661;
$custom-dark: #000000;
JSON
{
  "hex": "#89821a",
  "rgb": {
    "r": 137,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 56.216,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.11791,
    "h": 105.4
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#89821A
secondary
#434ABC
accent
#48EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #89821A

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

Preview Lab → · Contrast checker → · Palette generator →

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