#898B2B#898B2B

#898B2B is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.117 H 110.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#898B2B
RGBrgb(137, 139, 43)
HSLhsl(61, 53%, 36%)
HSVhsv(61, 69%, 55%)
CMYKcmyk(1.4%, 0%, 69.1%, 45.5%)
CIE-LABlab(56.05, -13.22, 48.72)
CIE-LCHlch(56.05, 50.48, 105.18°)
OKLaboklab(61.65% -0.0409 0.1092)
OKLCHoklch(61.65% 0.117 110.5)
XYZxyz(19.9858, 23.9586, 5.8567)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B2B #2D2B8B
analogous
#8B5D2B #898B2B #598B2B
triadic
#898B2B #2B898B #8B2B89
tetradic
#898B2B #2B8B5D #2D2B8B #8B2B59
square
#898B2B #2B8B5D #2D2B8B #8B2B59
split-complementary
#898B2B #2B598B #5D2B8B
monochromatic
#2D2E0E #5B5C1D #898B2B #B7BA39 #CCCE62

Accessibility & contrast

On white

3.63
#898B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#898B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B2B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B2B#FFFFFF#000000##000000
##898B2B1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851D
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#938278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b2b;
/* rgb */ color: rgb(137, 139, 43);
/* oklch */ color: oklch(61.7% 0.117 110.5);
Tailwind
colors: {
  custom: {
    50: '#aeac6a',
    500: '#898b2b',
    950: '#000000',
  },
}
SCSS
$custom: #898b2b;
$custom-light: #aeac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#898b2b",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 61.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.11658,
    "h": 110.5
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

primary
#898B2B
secondary
#5F5DB5
accent
#4CDC4F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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