#898F2F#898F2F

#898F2F is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.118 H 112.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#898F2F
RGBrgb(137, 143, 47)
HSLhsl(64, 51%, 37%)
HSVhsv(64, 67%, 56%)
CMYKcmyk(4.2%, 0%, 67.1%, 43.9%)
CIE-LABlab(57.24, -15.09, 48.28)
CIE-LCHlch(57.24, 50.58, 107.36°)
OKLaboklab(62.62% -0.0457 0.1089)
OKLCHoklch(62.62% 0.118 112.8)
XYZxyz(20.6527, 25.1690, 6.4589)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F2F #352F8F
analogous
#8F652F #898F2F #598F2F
triadic
#898F2F #2F898F #8F2F89
tetradic
#898F2F #2F8F65 #352F8F #8F2F59
square
#898F2F #2F8F65 #352F8F #8F2F59
split-complementary
#898F2F #2F598F #652F8F
monochromatic
#313311 #5D6120 #898F2F #B5BD3E #C8CE6A

Accessibility & contrast

On white

3.48
#898F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#898F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F2F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F2F#FFFFFF#000000##000000
##898F2F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#9A8A36
Tritanopia (blue-blind)
#92867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f2f;
/* rgb */ color: rgb(137, 143, 47);
/* oklch */ color: oklch(62.6% 0.118 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeaf6d',
    500: '#898f2f',
    950: '#000000',
  },
}
SCSS
$custom: #898f2f;
$custom-light: #aeaf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#898f2f",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 63.75,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.11812,
    "h": 112.8
  },
  "luminance": 0.25169
}

Semantic roles & 50–950 ramp

primary
#898F2F
secondary
#6A65B5
accent
#4EDA57
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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