#897C16#897C16

#897C16 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.115 H 101.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#897C16
RGBrgb(137, 124, 22)
HSLhsl(53, 72%, 31%)
HSVhsv(53, 84%, 54%)
CMYKcmyk(0%, 9.5%, 83.9%, 46.3%)
CIE-LABlab(51.60, -6.02, 52.08)
CIE-LCHlch(51.60, 52.42, 96.59°)
OKLaboklab(58.07% -0.0228 0.1122)
OKLCHoklch(58.07% 0.115 101.5)
XYZxyz(17.6699, 19.7924, 3.6485)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C16 #162389
analogous
#894216 #897C16 #5C8916
triadic
#897C16 #16897C #7C1689
tetradic
#897C16 #168942 #162389 #89165C
square
#897C16 #168942 #162389 #89165C
split-complementary
#897C16 #165C89 #421689
monochromatic
#201D05 #544C0E #897C16 #BEAC1E #DFCD3A

Accessibility & contrast

On white

4.24
#897C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#897C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C16
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C16#FFFFFF#000000##000000
##897C161.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8C7D1F
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c16;
/* rgb */ color: rgb(137, 124, 22);
/* oklch */ color: oklch(58.1% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#afa15e',
    500: '#897c16',
    950: '#000000',
  },
}
SCSS
$custom: #897c16;
$custom-light: #afa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#897c16",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 53.217,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.11451,
    "h": 101.5
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#897C16
secondary
#3E4CBD
accent
#4DEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897C16

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

Preview Lab → · Contrast checker → · Palette generator →

#897C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva