#897116#897116

#897116 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.6% C 0.107 H 92.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#897116
RGBrgb(137, 113, 22)
HSLhsl(47, 72%, 31%)
HSVhsv(47, 84%, 54%)
CMYKcmyk(0%, 17.5%, 83.9%, 46.3%)
CIE-LABlab(48.50, 0.18, 49.39)
CIE-LCHlch(48.50, 49.39, 89.80°)
OKLaboklab(55.61% -0.0053 0.1064)
OKLCHoklch(55.61% 0.107 92.8)
XYZxyz(16.3674, 17.1876, 3.2143)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897116 #162E89
analogous
#893716 #897116 #678916
triadic
#897116 #168971 #711689
tetradic
#897116 #168937 #162E89 #891667
square
#897116 #168937 #162E89 #891667
split-complementary
#897116 #166789 #371689
monochromatic
#201A05 #54460E #897116 #BE9C1E #DFBD3A

Accessibility & contrast

On white

4.73
#897116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#897116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897116
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897116#FFFFFF#000000##FFFFFF
##8971161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#84761C
Tritanopia (blue-blind)
#956760
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #897116;
/* rgb */ color: rgb(137, 113, 22);
/* oklch */ color: oklch(55.6% 0.107 92.8);
Tailwind
colors: {
  custom: {
    50: '#b0995d',
    500: '#897116',
    950: '#000000',
  },
}
SCSS
$custom: #897116;
$custom-light: #b0995d;
$custom-dark: #000000;
JSON
{
  "hex": "#897116",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 47.478,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55613,
    "c": 0.10652,
    "h": 92.8
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#897116
secondary
#3E58BD
accent
#5FEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #897116

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

Preview Lab → · Contrast checker → · Palette generator →

#897116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva