#897C2B#897C2B

#897C2B is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.101 H 100.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#897C2B
RGBrgb(137, 124, 43)
HSLhsl(52, 52%, 35%)
HSVhsv(52, 69%, 54%)
CMYKcmyk(0%, 9.5%, 68.6%, 46.3%)
CIE-LABlab(51.73, -5.03, 44.31)
CIE-LCHlch(51.73, 44.59, 96.48°)
OKLaboklab(58.22% -0.0178 0.0999)
OKLCHoklch(58.22% 0.101 100.1)
XYZxyz(17.9610, 19.9089, 5.1818)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C2B #2B3889
analogous
#894D2B #897C2B #67892B
triadic
#897C2B #2B897C #7C2B89
tetradic
#897C2B #2B894D #2B3889 #892B67
square
#897C2B #2B894D #2B3889 #892B67
split-complementary
#897C2B #2B6789 #4D2B89
monochromatic
#2C280E #5A521C #897C2B #B8A63A #CDBE61

Accessibility & contrast

On white

4.22
#897C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#897C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C2B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C2B#FFFFFF#000000##000000
##897C2B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887920
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c2b;
/* rgb */ color: rgb(137, 124, 43);
/* oklch */ color: oklch(58.2% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#aea169',
    500: '#897c2b',
    950: '#000000',
  },
}
SCSS
$custom: #897c2b;
$custom-light: #aea169;
$custom-dark: #000000;
JSON
{
  "hex": "#897c2b",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 51.702,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5822,
    "c": 0.10143,
    "h": 100.1
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#897C2B
secondary
#5C68B3
accent
#60DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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