#898B19#898B19

#898B19 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#898B19
RGBrgb(137, 139, 25)
HSLhsl(61, 70%, 32%)
HSVhsv(61, 82%, 55%)
CMYKcmyk(1.4%, 0%, 82%, 45.5%)
CIE-LABlab(55.94, -14.07, 54.97)
CIE-LCHlch(55.94, 56.74, 104.35°)
OKLaboklab(61.54% -0.045 0.1191)
OKLCHoklch(61.54% 0.127 110.7)
XYZxyz(19.7253, 23.8544, 4.4848)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B19 #1B198B
analogous
#8B5419 #898B19 #508B19
triadic
#898B19 #19898B #8B1989
tetradic
#898B19 #198B54 #1B198B #8B1950
square
#898B19 #198B54 #1B198B #8B1950
split-complementary
#898B19 #19508B #54198B
monochromatic
#232306 #565710 #898B19 #BCBF22 #DADD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898B19#FFFFFF#000000##000000
##898B191.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)
#978400
Deuteranopia (green-blind)
#988724
Tritanopia (blue-blind)
#938276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b19;
/* rgb */ color: rgb(137, 139, 25);
/* oklch */ color: oklch(61.5% 0.127 110.7);
Tailwind
colors: {
  custom: {
    50: '#afac62',
    500: '#898b19',
    950: '#000000',
  },
}
SCSS
$custom: #898b19;
$custom-light: #afac62;
$custom-dark: #000000;
JSON
{
  "hex": "#898b19",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 61.053,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.12728,
    "h": 110.7
  },
  "luminance": 0.23854
}

Semantic roles & 50–950 ramp

primary
#898B19
secondary
#4442BE
accent
#3BEC3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B19

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

Preview Lab → · Contrast checker → · Palette generator →

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