#898B1B#898B1B

#898B1B is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.126 H 110.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#898B1B
RGBrgb(137, 139, 27)
HSLhsl(61, 67%, 33%)
HSVhsv(61, 81%, 55%)
CMYKcmyk(1.4%, 0%, 80.6%, 45.5%)
CIE-LABlab(55.95, -13.99, 54.38)
CIE-LCHlch(55.95, 56.15, 104.43°)
OKLaboklab(61.55% -0.0446 0.1182)
OKLCHoklch(61.55% 0.126 110.7)
XYZxyz(19.7477, 23.8633, 4.6025)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B1B #1D1B8B
analogous
#8B551B #898B1B #518B1B
triadic
#898B1B #1B898B #8B1B89
tetradic
#898B1B #1B8B55 #1D1B8B #8B1B51
square
#898B1B #1B8B55 #1D1B8B #8B1B51
split-complementary
#898B1B #1B518B #551B8B
monochromatic
#242507 #565811 #898B1B #BCBE25 #D8DB45

Accessibility & contrast

On white

3.64
#898B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#898B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B1B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B1B#FFFFFF#000000##000000
##898B1B1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b1b;
/* rgb */ color: rgb(137, 139, 27);
/* oklch */ color: oklch(61.5% 0.126 110.7);
Tailwind
colors: {
  custom: {
    50: '#afac63',
    500: '#898b1b',
    950: '#000000',
  },
}
SCSS
$custom: #898b1b;
$custom-light: #afac63;
$custom-dark: #000000;
JSON
{
  "hex": "#898b1b",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 61.071,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61547,
    "c": 0.12633,
    "h": 110.7
  },
  "luminance": 0.23863
}

Semantic roles & 50–950 ramp

primary
#898B1B
secondary
#4745BC
accent
#3DEA41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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