#897B46#897B46

#897B46 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.074 H 95.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#897B46
RGBrgb(137, 123, 70)
HSLhsl(47, 32%, 41%)
HSVhsv(47, 49%, 54%)
CMYKcmyk(0%, 10.2%, 48.9%, 46.3%)
CIE-LABlab(51.75, -2.25, 30.79)
CIE-LCHlch(51.75, 30.88, 94.18°)
OKLaboklab(58.34% -0.0065 0.074)
OKLCHoklch(58.34% 0.074 95)
XYZxyz(18.5055, 19.9272, 8.6647)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B46 #465489
analogous
#895946 #897B46 #758946
triadic
#897B46 #46897B #7B4689
tetradic
#897B46 #468959 #465489 #894675
square
#897B46 #468959 #465489 #894675
split-complementary
#897B46 #467589 #594689
monochromatic
#38321D #605731 #897B46 #AD9D5F #C2B687

Accessibility & contrast

On white

4.21
#897B46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#897B46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B46
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B46#FFFFFF#000000##000000
##897B461.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857942
Deuteranopia (green-blind)
#897D48
Tritanopia (blue-blind)
#92746E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897b46;
/* rgb */ color: rgb(137, 123, 70);
/* oklch */ color: oklch(58.3% 0.074 95.0);
Tailwind
colors: {
  custom: {
    50: '#ada17a',
    500: '#897b46',
    950: '#000000',
  },
}
SCSS
$custom: #897b46;
$custom-light: #ada17a;
$custom-dark: #000000;
JSON
{
  "hex": "#897b46",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 70
  },
  "hsl": {
    "h": 47.463,
    "s": 32.367,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58335,
    "c": 0.07428,
    "h": 95
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#897B46
secondary
#7D87AD
accent
#75C95F
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #897B46

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

Preview Lab → · Contrast checker → · Palette generator →

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