#89851F#89851F

#89851F is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.118 H 107.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#89851F
RGBrgb(137, 133, 31)
HSLhsl(58, 63%, 33%)
HSVhsv(58, 77%, 54%)
CMYKcmyk(0%, 2.9%, 77.4%, 46.3%)
CIE-LABlab(54.23, -10.61, 51.53)
CIE-LCHlch(54.23, 52.61, 101.64°)
OKLaboklab(60.18% -0.0348 0.1129)
OKLCHoklch(60.18% 0.118 107.1)
XYZxyz(18.9521, 22.1930, 4.5814)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89851F #1F2389
analogous
#89501F #89851F #58891F
triadic
#89851F #1F8985 #851F89
tetradic
#89851F #1F8950 #1F2389 #891F58
square
#89851F #1F8950 #1F2389 #891F58
split-complementary
#89851F #1F5889 #501F89
monochromatic
#252408 #575514 #89851F #BBB52A #D6D14C

Accessibility & contrast

On white

3.86
#89851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#89851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89851F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89851F#FFFFFF#000000##000000
##89851F1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#938327
Tritanopia (blue-blind)
#937C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #89851f;
/* rgb */ color: rgb(137, 133, 31);
/* oklch */ color: oklch(60.2% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#afa864',
    500: '#89851f',
    950: '#000000',
  },
}
SCSS
$custom: #89851f;
$custom-light: #afa864;
$custom-dark: #000000;
JSON
{
  "hex": "#89851f",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 57.736,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.11812,
    "h": 107.1
  },
  "luminance": 0.22192
}

Semantic roles & 50–950 ramp

primary
#89851F
secondary
#4B4FB9
accent
#48E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #89851F

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

Preview Lab → · Contrast checker → · Palette generator →

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