#897A1C#897A1C

#897A1C is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.110 H 99.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#897A1C
RGBrgb(137, 122, 28)
HSLhsl(52, 66%, 32%)
HSVhsv(52, 80%, 54%)
CMYKcmyk(0%, 10.9%, 79.6%, 46.3%)
CIE-LABlab(51.06, -4.68, 49.66)
CIE-LCHlch(51.06, 49.88, 95.39°)
OKLaboklab(57.65% -0.0185 0.1083)
OKLCHoklch(57.65% 0.11 99.7)
XYZxyz(17.4865, 19.3221, 3.9069)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A1C #1C2B89
analogous
#89431C #897A1C #62891C
triadic
#897A1C #1C897A #7A1C89
tetradic
#897A1C #1C8943 #1C2B89 #891C62
square
#897A1C #1C8943 #1C2B89 #891C62
split-complementary
#897A1C #1C6289 #431C89
monochromatic
#231F07 #564D12 #897A1C #BCA726 #D9C546

Accessibility & contrast

On white

4.32
#897A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#897A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A1C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A1C#FFFFFF#000000##000000
##897A1C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a1c;
/* rgb */ color: rgb(137, 122, 28);
/* oklch */ color: oklch(57.7% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#afa061',
    500: '#897a1c',
    950: '#000000',
  },
}
SCSS
$custom: #897a1c;
$custom-light: #afa061;
$custom-dark: #000000;
JSON
{
  "hex": "#897a1c",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 51.743,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57654,
    "c": 0.10984,
    "h": 99.7
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#897A1C
secondary
#4656BB
accent
#56E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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