#897016#897016

#897016 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.4% C 0.106 H 92.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#897016
RGBrgb(137, 112, 22)
HSLhsl(47, 72%, 31%)
HSVhsv(47, 84%, 54%)
CMYKcmyk(0%, 18.2%, 83.9%, 46.3%)
CIE-LABlab(48.22, 0.75, 49.14)
CIE-LCHlch(48.22, 49.15, 89.13°)
OKLaboklab(55.39% -0.0036 0.1059)
OKLCHoklch(55.39% 0.106 92)
XYZxyz(16.2565, 16.9657, 3.1774)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897016 #162F89
analogous
#893716 #897016 #688916
triadic
#897016 #168970 #701689
tetradic
#897016 #168937 #162F89 #891668
square
#897016 #168937 #162F89 #891668
split-complementary
#897016 #166889 #371689
monochromatic
#201A05 #54450E #897016 #BE9B1E #DFBB3A

Accessibility & contrast

On white

4.78
#897016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#897016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897016
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897016#FFFFFF#000000##FFFFFF
##8970161.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#84751C
Tritanopia (blue-blind)
#95665F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #897016;
/* rgb */ color: rgb(137, 112, 22);
/* oklch */ color: oklch(55.4% 0.106 92.0);
Tailwind
colors: {
  custom: {
    50: '#b0985d',
    500: '#897016',
    950: '#000000',
  },
}
SCSS
$custom: #897016;
$custom-light: #b0985d;
$custom-dark: #000000;
JSON
{
  "hex": "#897016",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 46.957,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.10592,
    "h": 92
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

primary
#897016
secondary
#3E5ABD
accent
#60EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #897016

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

Preview Lab → · Contrast checker → · Palette generator →

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