#898F4C#898F4C

#898F4C is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.091 H 113.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#898F4C
RGBrgb(137, 143, 76)
HSLhsl(65, 31%, 43%)
HSVhsv(65, 47%, 56%)
CMYKcmyk(4.2%, 0%, 46.9%, 43.9%)
CIE-LABlab(57.55, -12.62, 34.72)
CIE-LCHlch(57.55, 36.95, 109.97°)
OKLaboklab(62.96% -0.0356 0.0832)
OKLCHoklch(62.96% 0.091 113.2)
XYZxyz(21.4438, 25.4854, 10.6256)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F4C #524C8F
analogous
#8F734C #898F4C #678F4C
triadic
#898F4C #4C898F #8F4C89
tetradic
#898F4C #4C8F73 #524C8F #8F4C67
square
#898F4C #4C8F73 #524C8F #8F4C67
split-complementary
#898F4C #4C678F #734C8F
monochromatic
#3C3F22 #636737 #898F4C #A9AF69 #C0C491

Accessibility & contrast

On white

3.44
#898F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#898F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F4C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F4C#FFFFFF#000000##000000
##898F4C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988946
Deuteranopia (green-blind)
#988B4F
Tritanopia (blue-blind)
#90887F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #898f4c;
/* rgb */ color: rgb(137, 143, 76);
/* oklch */ color: oklch(63.0% 0.091 113.2);
Tailwind
colors: {
  custom: {
    50: '#adaf7f',
    500: '#898f4c',
    950: '#000000',
  },
}
SCSS
$custom: #898f4c;
$custom-light: #adaf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#898f4c",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 65.373,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62961,
    "c": 0.09051,
    "h": 113.2
  },
  "luminance": 0.25485
}

Semantic roles & 50–950 ramp

primary
#898F4C
secondary
#8A86B1
accent
#61C76A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C

Preview Lab

Preview with #898F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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