#897816#897816

#897816 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.111 H 98.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#897816
RGBrgb(137, 120, 22)
HSLhsl(51, 72%, 31%)
HSVhsv(51, 84%, 54%)
CMYKcmyk(0%, 12.4%, 83.9%, 46.3%)
CIE-LABlab(50.46, -3.79, 51.09)
CIE-LCHlch(50.46, 51.23, 94.24°)
OKLaboklab(57.17% -0.0165 0.1101)
OKLCHoklch(57.17% 0.111 98.5)
XYZxyz(17.1787, 18.8101, 3.4848)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897816 #162789
analogous
#893E16 #897816 #608916
triadic
#897816 #168978 #781689
tetradic
#897816 #16893E #162789 #891660
square
#897816 #16893E #162789 #891660
split-complementary
#897816 #166089 #3E1689
monochromatic
#201C05 #544A0E #897816 #BEA61E #DFC73A

Accessibility & contrast

On white

4.41
#897816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#897816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897816
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897816#FFFFFF#000000##000000
##8978161.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#946E66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897816;
/* rgb */ color: rgb(137, 120, 22);
/* oklch */ color: oklch(57.2% 0.111 98.5);
Tailwind
colors: {
  custom: {
    50: '#af9e5e',
    500: '#897816',
    950: '#000000',
  },
}
SCSS
$custom: #897816;
$custom-light: #af9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#897816",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 51.13,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.11133,
    "h": 98.5
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#897816
secondary
#3E51BD
accent
#54EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897816

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

Preview Lab → · Contrast checker → · Palette generator →

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