#898C2F#898C2F

#898C2F is a mid, moderate yellow. Relative luminance 0.243; OKLCH L 61.9% C 0.115 H 111.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#898C2F
RGBrgb(137, 140, 47)
HSLhsl(62, 50%, 37%)
HSVhsv(62, 66%, 55%)
CMYKcmyk(2.1%, 0%, 66.4%, 45.1%)
CIE-LABlab(56.37, -13.50, 47.37)
CIE-LCHlch(56.37, 49.26, 105.91°)
OKLaboklab(61.92% -0.0413 0.107)
OKLCHoklch(61.92% 0.115 111.1)
XYZxyz(20.2083, 24.2803, 6.3108)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C2F #322F8C
analogous
#8C612F #898C2F #5B8C2F
triadic
#898C2F #2F898C #8C2F89
tetradic
#898C2F #2F8C61 #322F8C #8C2F5B
square
#898C2F #2F8C61 #322F8C #8C2F5B
split-complementary
#898C2F #2F5B8C #612F8C
monochromatic
#2F3010 #5C5E20 #898C2F #B6BA3E #C9CD69

Accessibility & contrast

On white

3.59
#898C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#898C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C2F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C2F#FFFFFF#000000##000000
##898C2F1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978622
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#928379
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c2f;
/* rgb */ color: rgb(137, 140, 47);
/* oklch */ color: oklch(61.9% 0.115 111.1);
Tailwind
colors: {
  custom: {
    50: '#aead6d',
    500: '#898c2f',
    950: '#000000',
  },
}
SCSS
$custom: #898c2f;
$custom-light: #aead6d;
$custom-dark: #000000;
JSON
{
  "hex": "#898c2f",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 61.935,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6192,
    "c": 0.11469,
    "h": 111.1
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#898C2F
secondary
#6663B4
accent
#4FD953
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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