#898C2E#898C2E

#898C2E 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.85:1 contrast (WCAG AA passes).

Color values

HEX#898C2E
RGBrgb(137, 140, 46)
HSLhsl(62, 51%, 36%)
HSVhsv(62, 67%, 55%)
CMYKcmyk(2.1%, 0%, 67.1%, 45.1%)
CIE-LABlab(56.36, -13.57, 47.79)
CIE-LCHlch(56.36, 49.68, 105.85°)
OKLaboklab(61.91% -0.0416 0.1077)
OKLCHoklch(61.91% 0.115 111.1)
XYZxyz(20.1884, 24.2723, 6.2058)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C2E #312E8C
analogous
#8C602E #898C2E #5A8C2E
triadic
#898C2E #2E898C #8C2E89
tetradic
#898C2E #2E8C60 #312E8C #8C2E5A
square
#898C2E #2E8C60 #312E8C #8C2E5A
split-complementary
#898C2E #2E5A8C #602E8C
monochromatic
#2F3010 #5C5E1F #898C2E #B6BA3D #CACD67

Accessibility & contrast

On white

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

On black

5.85
#898C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C2E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C2E#FFFFFF#000000##000000
##898C2E1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898c2e;
/* rgb */ color: rgb(137, 140, 46);
/* oklch */ color: oklch(61.9% 0.115 111.1);
Tailwind
colors: {
  custom: {
    50: '#aead6c',
    500: '#898c2e',
    950: '#000000',
  },
}
SCSS
$custom: #898c2e;
$custom-light: #aead6c;
$custom-dark: #000000;
JSON
{
  "hex": "#898c2e",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 61.915,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61912,
    "c": 0.11546,
    "h": 111.1
  },
  "luminance": 0.24272
}

Semantic roles & 50–950 ramp

primary
#898C2E
secondary
#6462B4
accent
#4EDA52
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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