#897B2A#897B2A

#897B2A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.101 H 99.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#897B2A
RGBrgb(137, 123, 42)
HSLhsl(51, 53%, 35%)
HSVhsv(51, 69%, 54%)
CMYKcmyk(0%, 10.2%, 69.3%, 46.3%)
CIE-LABlab(51.44, -4.54, 44.45)
CIE-LCHlch(51.44, 44.68, 95.83°)
OKLaboklab(57.99% -0.0165 0.1)
OKLCHoklch(57.99% 0.101 99.4)
XYZxyz(17.8182, 19.6523, 5.0448)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B2A #2A3889
analogous
#894B2A #897B2A #67892A
triadic
#897B2A #2A897B #7B2A89
tetradic
#897B2A #2A894B #2A3889 #892A67
square
#897B2A #2A894B #2A3889 #892A67
split-complementary
#897B2A #2A6789 #4B2A89
monochromatic
#2B270D #5A511C #897B2A #B8A538 #CEBE5F

Accessibility & contrast

On white

4.26
#897B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#897B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B2A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B2A#FFFFFF#000000##000000
##897B2A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#8B7D2F
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897b2a;
/* rgb */ color: rgb(137, 123, 42);
/* oklch */ color: oklch(58.0% 0.101 99.4);
Tailwind
colors: {
  custom: {
    50: '#aea068',
    500: '#897b2a',
    950: '#000000',
  },
}
SCSS
$custom: #897b2a;
$custom-light: #aea068;
$custom-dark: #000000;
JSON
{
  "hex": "#897b2a",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 51.158,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.10133,
    "h": 99.4
  },
  "luminance": 0.19651
}

Semantic roles & 50–950 ramp

primary
#897B2A
secondary
#5B68B4
accent
#61DC4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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