#897716#897716

#897716 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.9% C 0.111 H 97.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#897716
RGBrgb(137, 119, 22)
HSLhsl(51, 72%, 31%)
HSVhsv(51, 84%, 54%)
CMYKcmyk(0%, 13.1%, 83.9%, 46.3%)
CIE-LABlab(50.18, -3.23, 50.85)
CIE-LCHlch(50.18, 50.95, 93.63°)
OKLaboklab(56.95% -0.0149 0.1096)
OKLCHoklch(56.95% 0.111 97.7)
XYZxyz(17.0591, 18.5709, 3.4449)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897716 #162889
analogous
#893D16 #897716 #618916
triadic
#897716 #168977 #771689
tetradic
#897716 #16893D #162889 #891661
square
#897716 #16893D #162889 #891661
split-complementary
#897716 #166189 #3D1689
monochromatic
#201B05 #54490E #897716 #BEA51E #DFC53A

Accessibility & contrast

On white

4.45
#897716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#897716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897716
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897716#FFFFFF#000000##000000
##8977161.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#956D65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #897716;
/* rgb */ color: rgb(137, 119, 22);
/* oklch */ color: oklch(56.9% 0.111 97.7);
Tailwind
colors: {
  custom: {
    50: '#af9d5e',
    500: '#897716',
    950: '#000000',
  },
}
SCSS
$custom: #897716;
$custom-light: #af9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#897716",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 50.609,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.11058,
    "h": 97.7
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#897716
secondary
#3E52BD
accent
#55EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897716

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

Preview Lab → · Contrast checker → · Palette generator →

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