#897B4F#897B4F

#897B4F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.5% C 0.064 H 92.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#897B4F
RGBrgb(137, 123, 79)
HSLhsl(46, 27%, 42%)
HSVhsv(46, 42%, 54%)
CMYKcmyk(0%, 10.2%, 42.3%, 46.3%)
CIE-LABlab(51.89, -1.26, 26.00)
CIE-LCHlch(51.89, 26.03, 92.78°)
OKLaboklab(58.49% -0.0027 0.0637)
OKLCHoklch(58.49% 0.064 92.5)
XYZxyz(18.8112, 20.0495, 10.2747)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B4F #4F5D89
analogous
#895E4F #897B4F #7A894F
triadic
#897B4F #4F897B #7B4F89
tetradic
#897B4F #4F895E #4F5D89 #894F7A
square
#897B4F #4F895E #4F5D89 #894F7A
split-complementary
#897B4F #4F7A89 #5E4F89
monochromatic
#3B3522 #625839 #897B4F #AA9B6B #C0B592

Accessibility & contrast

On white

4.19
#897B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#897B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B4F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B4F#FFFFFF#000000##000000
##897B4F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84794C
Deuteranopia (green-blind)
#887E51
Tritanopia (blue-blind)
#917570
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897b4f;
/* rgb */ color: rgb(137, 123, 79);
/* oklch */ color: oklch(58.5% 0.064 92.5);
Tailwind
colors: {
  custom: {
    50: '#aca181',
    500: '#897b4f',
    950: '#000000',
  },
}
SCSS
$custom: #897b4f;
$custom-light: #aca181;
$custom-dark: #000000;
JSON
{
  "hex": "#897b4f",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 45.517,
    "s": 26.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58489,
    "c": 0.06378,
    "h": 92.5
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#897B4F
secondary
#8790AD
accent
#7BC365
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E0A
muted
#7F7E7C

Preview Lab

Preview with #897B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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