#897A1A#897A1A

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

Color values

HEX#897A1A
RGBrgb(137, 122, 26)
HSLhsl(52, 68%, 32%)
HSVhsv(52, 81%, 54%)
CMYKcmyk(0%, 10.9%, 81%, 46.3%)
CIE-LABlab(51.05, -4.76, 50.33)
CIE-LCHlch(51.05, 50.56, 95.41°)
OKLaboklab(57.64% -0.0189 0.1093)
OKLCHoklch(57.64% 0.111 99.8)
XYZxyz(17.4634, 19.3129, 3.7850)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A1A #1A2989
analogous
#89431A #897A1A #61891A
triadic
#897A1A #1A897A #7A1A89
tetradic
#897A1A #1A8943 #1A2989 #891A61
square
#897A1A #1A8943 #1A2989 #891A61
split-complementary
#897A1A #1A6189 #431A89
monochromatic
#221E06 #564C10 #897A1A #BCA824 #DBC742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897A1A#FFFFFF#000000##000000
##897A1A1.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)
#877602
Deuteranopia (green-blind)
#8B7C21
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a1a;
/* rgb */ color: rgb(137, 122, 26);
/* oklch */ color: oklch(57.6% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#afa060',
    500: '#897a1a',
    950: '#000000',
  },
}
SCSS
$custom: #897a1a;
$custom-light: #afa060;
$custom-dark: #000000;
JSON
{
  "hex": "#897a1a",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 51.892,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.11092,
    "h": 99.8
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#897A1A
secondary
#4353BC
accent
#54EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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