#89791F#89791F

#89791F is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.107 H 98.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#89791F
RGBrgb(137, 121, 31)
HSLhsl(51, 63%, 33%)
HSVhsv(51, 77%, 54%)
CMYKcmyk(0%, 11.7%, 77.4%, 46.3%)
CIE-LABlab(50.80, -4.00, 48.32)
CIE-LCHlch(50.80, 48.49, 94.73°)
OKLaboklab(57.45% -0.0162 0.1061)
OKLCHoklch(57.45% 0.107 98.7)
XYZxyz(17.4021, 19.0929, 4.0647)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89791F #1F2F89
analogous
#89441F #89791F #64891F
triadic
#89791F #1F8979 #791F89
tetradic
#89791F #1F8944 #1F2F89 #891F64
square
#89791F #1F8944 #1F2F89 #891F64
split-complementary
#89791F #1F6489 #441F89
monochromatic
#252108 #574D14 #89791F #BBA52A #D6C24C

Accessibility & contrast

On white

4.36
#89791F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#89791F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #89791F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89791F#FFFFFF#000000##000000
##89791F1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#946F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #89791f;
/* rgb */ color: rgb(137, 121, 31);
/* oklch */ color: oklch(57.4% 0.107 98.7);
Tailwind
colors: {
  custom: {
    50: '#af9f62',
    500: '#89791f',
    950: '#000000',
  },
}
SCSS
$custom: #89791f;
$custom-light: #af9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#89791f",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 50.943,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.10728,
    "h": 98.7
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#89791F
secondary
#4B5BB9
accent
#5AE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #89791F

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

Preview Lab → · Contrast checker → · Palette generator →

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