#897316#897316

#897316 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.1% C 0.108 H 94.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#897316
RGBrgb(137, 115, 22)
HSLhsl(49, 72%, 31%)
HSVhsv(49, 84%, 54%)
CMYKcmyk(0%, 16.1%, 83.9%, 46.3%)
CIE-LABlab(49.05, -0.96, 49.87)
CIE-LCHlch(49.05, 49.88, 91.11°)
OKLaboklab(56.06% -0.0085 0.1075)
OKLCHoklch(56.06% 0.108 94.5)
XYZxyz(16.5930, 17.6387, 3.2895)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897316 #162C89
analogous
#893916 #897316 #658916
triadic
#897316 #168973 #731689
tetradic
#897316 #168939 #162C89 #891665
square
#897316 #168939 #162C89 #891665
split-complementary
#897316 #166589 #391689
monochromatic
#201A05 #54470E #897316 #BE9F1E #DFC03A

Accessibility & contrast

On white

4.64
#897316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#897316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #897316
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897316#FFFFFF#000000##FFFFFF
##8973161.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#86771D
Tritanopia (blue-blind)
#956962
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897316;
/* rgb */ color: rgb(137, 115, 22);
/* oklch */ color: oklch(56.1% 0.108 94.5);
Tailwind
colors: {
  custom: {
    50: '#af9a5d',
    500: '#897316',
    950: '#000000',
  },
}
SCSS
$custom: #897316;
$custom-light: #af9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#897316",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 48.522,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.10779,
    "h": 94.5
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#897316
secondary
#3E56BD
accent
#5CEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897316

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

Preview Lab → · Contrast checker → · Palette generator →

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