#897B2C#897B2C

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

Color values

HEX#897B2C
RGBrgb(137, 123, 44)
HSLhsl(51, 51%, 35%)
HSVhsv(51, 68%, 54%)
CMYKcmyk(0%, 10.2%, 67.9%, 46.3%)
CIE-LABlab(51.46, -4.41, 43.57)
CIE-LCHlch(51.46, 43.79, 95.78°)
OKLaboklab(58.01% -0.0159 0.0985)
OKLCHoklch(58.01% 0.1 99.2)
XYZxyz(17.8549, 19.6669, 5.2380)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B2C #2C3A89
analogous
#894D2C #897B2C #68892C
triadic
#897B2C #2C897B #7B2C89
tetradic
#897B2C #2C894D #2C3A89 #892C68
square
#897B2C #2C894D #2C3A89 #892C68
split-complementary
#897B2C #2C6889 #4D2C89
monochromatic
#2C280E #5B511D #897B2C #B7A53B #CDBD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897B2C#FFFFFF#000000##000000
##897B2C1.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)
#877822
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#94726B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897b2c;
/* rgb */ color: rgb(137, 123, 44);
/* oklch */ color: oklch(58.0% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#aea069',
    500: '#897b2c',
    950: '#000000',
  },
}
SCSS
$custom: #897b2c;
$custom-light: #aea069;
$custom-dark: #000000;
JSON
{
  "hex": "#897b2c",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 50.968,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.09974,
    "h": 99.2
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#897B2C
secondary
#5E6BB3
accent
#62DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #897B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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