#89891F#89891F

#89891F is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.122 H 109.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#89891F
RGBrgb(137, 137, 31)
HSLhsl(60, 63%, 33%)
HSVhsv(60, 77%, 54%)
CMYKcmyk(0%, 0%, 77.4%, 46.3%)
CIE-LABlab(55.39, -12.77, 52.59)
CIE-LCHlch(55.39, 54.12, 103.64°)
OKLaboklab(61.11% -0.0408 0.1151)
OKLCHoklch(61.11% 0.122 109.5)
XYZxyz(19.5102, 23.3092, 4.7675)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89891F #1F1F89
analogous
#89541F #89891F #54891F
triadic
#89891F #1F8989 #891F89
tetradic
#89891F #1F8954 #1F1F89 #891F54
square
#89891F #1F8954 #1F1F89 #891F54
split-complementary
#89891F #1F5489 #541F89
monochromatic
#252508 #575714 #89891F #BBBB2A #D6D64C

Accessibility & contrast

On white

3.71
#89891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#89891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89891F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89891F#FFFFFF#000000##000000
##89891F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958305
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#938075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #89891f;
/* rgb */ color: rgb(137, 137, 31);
/* oklch */ color: oklch(61.1% 0.122 109.5);
Tailwind
colors: {
  custom: {
    50: '#afab64',
    500: '#89891f',
    950: '#000000',
  },
}
SCSS
$custom: #89891f;
$custom-light: #afab64;
$custom-dark: #000000;
JSON
{
  "hex": "#89891f",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61105,
    "c": 0.12217,
    "h": 109.5
  },
  "luminance": 0.23309
}

Semantic roles & 50–950 ramp

primary
#89891F
secondary
#4B4BB9
accent
#42E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #89891F

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

Preview Lab → · Contrast checker → · Palette generator →

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