#897C1C#897C1C

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

Color values

HEX#897C1C
RGBrgb(137, 124, 28)
HSLhsl(53, 66%, 32%)
HSVhsv(53, 80%, 54%)
CMYKcmyk(0%, 9.5%, 79.6%, 46.3%)
CIE-LABlab(51.63, -5.80, 50.18)
CIE-LCHlch(51.63, 50.51, 96.59°)
OKLaboklab(58.11% -0.0216 0.1094)
OKLCHoklch(58.11% 0.112 101.2)
XYZxyz(17.7346, 19.8183, 3.9896)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C1C #1C2989
analogous
#89451C #897C1C #60891C
triadic
#897C1C #1C897C #7C1C89
tetradic
#897C1C #1C8945 #1C2989 #891C60
square
#897C1C #1C8945 #1C2989 #891C60
split-complementary
#897C1C #1C6089 #451C89
monochromatic
#232007 #564E12 #897C1C #BCAA26 #D9C846

Accessibility & contrast

On white

4.23
#897C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##897C1C#FFFFFF#000000##000000
##897C1C1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #897c1c;
/* rgb */ color: rgb(137, 124, 28);
/* oklch */ color: oklch(58.1% 0.112 101.2);
Tailwind
colors: {
  custom: {
    50: '#afa161',
    500: '#897c1c',
    950: '#000000',
  },
}
SCSS
$custom: #897c1c;
$custom-light: #afa161;
$custom-dark: #000000;
JSON
{
  "hex": "#897c1c",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 52.844,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.1115,
    "h": 101.2
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#897C1C
secondary
#4654BB
accent
#53E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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