#897A2C#897A2C

#897A2C is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.099 H 98.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#897A2C
RGBrgb(137, 122, 44)
HSLhsl(50, 51%, 35%)
HSVhsv(50, 68%, 54%)
CMYKcmyk(0%, 10.9%, 67.9%, 46.3%)
CIE-LABlab(51.18, -3.85, 43.27)
CIE-LCHlch(51.18, 43.44, 95.09°)
OKLaboklab(57.78% -0.0143 0.0978)
OKLCHoklch(57.78% 0.099 98.3)
XYZxyz(17.7315, 19.4201, 5.1969)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A2C #2C3B89
analogous
#894C2C #897A2C #69892C
triadic
#897A2C #2C897A #7A2C89
tetradic
#897A2C #2C894C #2C3B89 #892C69
square
#897A2C #2C894C #2C3B89 #892C69
split-complementary
#897A2C #2C6989 #4C2C89
monochromatic
#2C270E #5B511D #897A2C #B7A33B #CDBC63

Accessibility & contrast

On white

4.30
#897A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#897A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A2C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A2C#FFFFFF#000000##000000
##897A2C1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a2c;
/* rgb */ color: rgb(137, 122, 44);
/* oklch */ color: oklch(57.8% 0.099 98.3);
Tailwind
colors: {
  custom: {
    50: '#aea069',
    500: '#897a2c',
    950: '#000000',
  },
}
SCSS
$custom: #897a2c;
$custom-light: #aea069;
$custom-dark: #000000;
JSON
{
  "hex": "#897a2c",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 50.323,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.09888,
    "h": 98.3
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#897A2C
secondary
#5E6CB3
accent
#64DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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