#897E37#897E37

#897E37 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.093 H 100.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#897E37
RGBrgb(137, 126, 55)
HSLhsl(52, 43%, 38%)
HSVhsv(52, 60%, 54%)
CMYKcmyk(0%, 8%, 59.9%, 46.3%)
CIE-LABlab(52.42, -5.30, 39.39)
CIE-LCHlch(52.42, 39.75, 97.66°)
OKLaboklab(58.8% -0.0171 0.0912)
OKLCHoklch(58.8% 0.093 100.6)
XYZxyz(18.4676, 20.5166, 6.6010)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E37 #374289
analogous
#895537 #897E37 #6B8937
triadic
#897E37 #37897E #7E3789
tetradic
#897E37 #378955 #374289 #89376B
square
#897E37 #378955 #374289 #89376B
split-complementary
#897E37 #376B89 #553789
monochromatic
#322E14 #5D5625 #897E37 #B5A649 #C7BC73

Accessibility & contrast

On white

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

On black

5.10
#897E37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E37
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E37#FFFFFF#000000##000000
##897E371.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897e37;
/* rgb */ color: rgb(137, 126, 55);
/* oklch */ color: oklch(58.8% 0.093 100.6);
Tailwind
colors: {
  custom: {
    50: '#aea370',
    500: '#897e37',
    950: '#000000',
  },
}
SCSS
$custom: #897e37;
$custom-light: #aea370;
$custom-dark: #000000;
JSON
{
  "hex": "#897e37",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 55
  },
  "hsl": {
    "h": 51.951,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.09282,
    "h": 100.6
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#897E37
secondary
#6C75B0
accent
#66D255
background
#FAFAF6
surface
#F5F3EC
border
#CFCDC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #897E37

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

Preview Lab → · Contrast checker → · Palette generator →

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