#897E32#897E32

#897E32 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.097 H 101.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#897E32
RGBrgb(137, 126, 50)
HSLhsl(52, 47%, 37%)
HSVhsv(52, 64%, 54%)
CMYKcmyk(0%, 8%, 63.5%, 46.3%)
CIE-LABlab(52.37, -5.68, 41.76)
CIE-LCHlch(52.37, 42.14, 97.74°)
OKLaboklab(58.74% -0.0188 0.0956)
OKLCHoklch(58.74% 0.097 101.1)
XYZxyz(18.3538, 20.4711, 6.0015)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E32 #323D89
analogous
#895332 #897E32 #698932
triadic
#897E32 #32897E #7E3289
tetradic
#897E32 #328953 #323D89 #893269
square
#897E32 #328953 #323D89 #893269
split-complementary
#897E32 #326989 #533289
monochromatic
#2F2C11 #5C5522 #897E32 #B6A742 #C9BE6C

Accessibility & contrast

On white

4.12
#897E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#897E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E32
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E32#FFFFFF#000000##000000
##897E321.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A29
Deuteranopia (green-blind)
#8C7F36
Tritanopia (blue-blind)
#93756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897e32;
/* rgb */ color: rgb(137, 126, 50);
/* oklch */ color: oklch(58.7% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#aea36d',
    500: '#897e32',
    950: '#000000',
  },
}
SCSS
$custom: #897e32;
$custom-light: #aea36d;
$custom-dark: #000000;
JSON
{
  "hex": "#897e32",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 52.414,
    "s": 46.524,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.09741,
    "h": 101.1
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#897E32
secondary
#666FB1
accent
#62D652
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #897E32

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

Preview Lab → · Contrast checker → · Palette generator →

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