#898B1A#898B1A

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

Color values

HEX#898B1A
RGBrgb(137, 139, 26)
HSLhsl(61, 68%, 32%)
HSVhsv(61, 81%, 55%)
CMYKcmyk(1.4%, 0%, 81.3%, 45.5%)
CIE-LABlab(55.95, -14.03, 54.68)
CIE-LCHlch(55.95, 56.45, 104.39°)
OKLaboklab(61.54% -0.0448 0.1186)
OKLCHoklch(61.54% 0.127 110.7)
XYZxyz(19.7363, 23.8587, 4.5426)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B1A #1C1A8B
analogous
#8B551A #898B1A #518B1A
triadic
#898B1A #1A898B #8B1A89
tetradic
#898B1A #1A8B55 #1C1A8B #8B1A51
square
#898B1A #1A8B55 #1C1A8B #8B1A51
split-complementary
#898B1A #1A518B #551A8B
monochromatic
#232407 #565710 #898B1A #BCBF24 #D9DC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898B1A#FFFFFF#000000##000000
##898B1A1.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)
#988725
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b1a;
/* rgb */ color: rgb(137, 139, 26);
/* oklch */ color: oklch(61.5% 0.127 110.7);
Tailwind
colors: {
  custom: {
    50: '#afac62',
    500: '#898b1a',
    950: '#000000',
  },
}
SCSS
$custom: #898b1a;
$custom-light: #afac62;
$custom-dark: #000000;
JSON
{
  "hex": "#898b1a",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 61.062,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.12681,
    "h": 110.7
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#898B1A
secondary
#4644BD
accent
#3CEB40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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