#897A2B#897A2B

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

Color values

HEX#897A2B
RGBrgb(137, 122, 43)
HSLhsl(50, 52%, 35%)
HSVhsv(50, 69%, 54%)
CMYKcmyk(0%, 10.9%, 68.6%, 46.3%)
CIE-LABlab(51.17, -3.91, 43.71)
CIE-LCHlch(51.17, 43.89, 95.12°)
OKLaboklab(57.77% -0.0146 0.0986)
OKLCHoklch(57.77% 0.1 98.4)
XYZxyz(17.7129, 19.4127, 5.0991)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A2B #2B3A89
analogous
#894B2B #897A2B #69892B
triadic
#897A2B #2B897A #7A2B89
tetradic
#897A2B #2B894B #2B3A89 #892B69
square
#897A2B #2B894B #2B3A89 #892B69
split-complementary
#897A2B #2B6989 #4B2B89
monochromatic
#2C270E #5A511C #897A2B #B8A33A #CDBC61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897A2B#FFFFFF#000000##000000
##897A2B1.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)
#867721
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a2b;
/* rgb */ color: rgb(137, 122, 43);
/* oklch */ color: oklch(57.8% 0.100 98.4);
Tailwind
colors: {
  custom: {
    50: '#aea069',
    500: '#897a2b',
    950: '#000000',
  },
}
SCSS
$custom: #897a2b;
$custom-light: #aea069;
$custom-dark: #000000;
JSON
{
  "hex": "#897a2b",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 50.426,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.09968,
    "h": 98.4
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#897A2B
secondary
#5C6AB3
accent
#63DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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