#89851B#89851B

#89851B is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.120 H 107.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#89851B
RGBrgb(137, 133, 27)
HSLhsl(58, 67%, 32%)
HSVhsv(58, 80%, 54%)
CMYKcmyk(0%, 2.9%, 80.3%, 46.3%)
CIE-LABlab(54.21, -10.78, 52.83)
CIE-LCHlch(54.21, 53.92, 101.53°)
OKLaboklab(60.16% -0.0356 0.1149)
OKLCHoklch(60.16% 0.12 107.2)
XYZxyz(18.9027, 22.1732, 4.3209)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89851B #1B1F89
analogous
#894E1B #89851B #56891B
triadic
#89851B #1B8985 #851B89
tetradic
#89851B #1B894E #1B1F89 #891B56
square
#89851B #1B894E #1B1F89 #891B56
split-complementary
#89851B #1B5689 #4E1B89
monochromatic
#232207 #565311 #89851B #BCB725 #DAD544

Accessibility & contrast

On white

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

On black

5.43
#89851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89851B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89851B#FFFFFF#000000##000000
##89851B1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#947C71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #89851b;
/* rgb */ color: rgb(137, 133, 27);
/* oklch */ color: oklch(60.2% 0.120 107.2);
Tailwind
colors: {
  custom: {
    50: '#afa862',
    500: '#89851b',
    950: '#000000',
  },
}
SCSS
$custom: #89851b;
$custom-light: #afa862;
$custom-dark: #000000;
JSON
{
  "hex": "#89851b",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 57.818,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.12027,
    "h": 107.2
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#89851B
secondary
#4449BC
accent
#44EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #89851B

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

Preview Lab → · Contrast checker → · Palette generator →

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