#898C4F#898C4F

#898C4F is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.3% C 0.083 H 111.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#898C4F
RGBrgb(137, 140, 79)
HSLhsl(63, 28%, 43%)
HSVhsv(63, 44%, 55%)
CMYKcmyk(2.1%, 0%, 43.6%, 45.1%)
CIE-LABlab(56.72, -10.68, 32.12)
CIE-LCHlch(56.72, 33.85, 108.39°)
OKLaboklab(62.32% -0.0298 0.0776)
OKLCHoklch(62.32% 0.083 111)
XYZxyz(21.1062, 24.6394, 11.0397)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C4F #524F8C
analogous
#8C704F #898C4F #6A8C4F
triadic
#898C4F #4F898C #8C4F89
tetradic
#898C4F #4F8C70 #524F8C #8C4F6A
square
#898C4F #4F8C70 #524F8C #8C4F6A
split-complementary
#898C4F #4F6A8C #704F8C
monochromatic
#3C3E23 #636539 #898C4F #A9AC6C #C0C293

Accessibility & contrast

On white

3.54
#898C4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#898C4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C4F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C4F#FFFFFF#000000##000000
##898C4F1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874A
Deuteranopia (green-blind)
#958952
Tritanopia (blue-blind)
#90857D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898c4f;
/* rgb */ color: rgb(137, 140, 79);
/* oklch */ color: oklch(62.3% 0.083 111.0);
Tailwind
colors: {
  custom: {
    50: '#acad81',
    500: '#898c4f',
    950: '#000000',
  },
}
SCSS
$custom: #898c4f;
$custom-light: #acad81;
$custom-dark: #000000;
JSON
{
  "hex": "#898c4f",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 79
  },
  "hsl": {
    "h": 62.951,
    "s": 27.854,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.08314,
    "h": 111
  },
  "luminance": 0.24639
}

Semantic roles & 50–950 ramp

primary
#898C4F
secondary
#8A88AF
accent
#64C468
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #898C4F

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

Preview Lab → · Contrast checker → · Palette generator →

#898C4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva