#897216#897216

#897216 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.107 H 93.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#897216
RGBrgb(137, 114, 22)
HSLhsl(48, 72%, 31%)
HSVhsv(48, 84%, 54%)
CMYKcmyk(0%, 16.8%, 83.9%, 46.3%)
CIE-LABlab(48.77, -0.39, 49.63)
CIE-LCHlch(48.77, 49.63, 90.45°)
OKLaboklab(55.83% -0.0069 0.1069)
OKLCHoklch(55.83% 0.107 93.7)
XYZxyz(16.4796, 17.4119, 3.2517)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897216 #162D89
analogous
#893816 #897216 #668916
triadic
#897216 #168972 #721689
tetradic
#897216 #168938 #162D89 #891666
square
#897216 #168938 #162D89 #891666
split-complementary
#897216 #166689 #381689
monochromatic
#201A05 #54460E #897216 #BE9E1E #DFBE3A

Accessibility & contrast

On white

4.69
#897216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#897216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897216
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897216#FFFFFF#000000##FFFFFF
##8972161.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#85771D
Tritanopia (blue-blind)
#956861
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #897216;
/* rgb */ color: rgb(137, 114, 22);
/* oklch */ color: oklch(55.8% 0.107 93.7);
Tailwind
colors: {
  custom: {
    50: '#af9a5d',
    500: '#897216',
    950: '#000000',
  },
}
SCSS
$custom: #897216;
$custom-light: #af9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#897216",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 48,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.10714,
    "h": 93.7
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#897216
secondary
#3E57BD
accent
#5DEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897216

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

Preview Lab → · Contrast checker → · Palette generator →

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