#898437#898437

#898437 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.099 H 105.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#898437
RGBrgb(137, 132, 55)
HSLhsl(56, 43%, 38%)
HSVhsv(56, 60%, 54%)
CMYKcmyk(0%, 3.6%, 59.9%, 46.3%)
CIE-LABlab(54.13, -8.61, 41.31)
CIE-LCHlch(54.13, 42.20, 101.78°)
OKLaboklab(60.16% -0.0265 0.0954)
OKLCHoklch(60.16% 0.099 105.5)
XYZxyz(19.2580, 22.0974, 6.8645)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898437 #373C89
analogous
#895B37 #898437 #658937
triadic
#898437 #378984 #843789
tetradic
#898437 #37895B #373C89 #893765
square
#898437 #37895B #373C89 #893765
split-complementary
#898437 #376589 #5B3789
monochromatic
#323014 #5D5A25 #898437 #B5AE49 #C7C273

Accessibility & contrast

On white

3.87
#898437 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#898437 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898437
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898437#FFFFFF#000000##000000
##8984371.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F2F
Deuteranopia (green-blind)
#91833B
Tritanopia (blue-blind)
#927C73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898437;
/* rgb */ color: rgb(137, 132, 55);
/* oklch */ color: oklch(60.2% 0.099 105.5);
Tailwind
colors: {
  custom: {
    50: '#aea771',
    500: '#898437',
    950: '#000000',
  },
}
SCSS
$custom: #898437;
$custom-light: #aea771;
$custom-dark: #000000;
JSON
{
  "hex": "#898437",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 55
  },
  "hsl": {
    "h": 56.341,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.09897,
    "h": 105.5
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#898437
secondary
#6C70B0
accent
#5DD255
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #898437

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

Preview Lab → · Contrast checker → · Palette generator →

#898437 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva