#898C19#898C19

#898C19 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.128 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#898C19
RGBrgb(137, 140, 25)
HSLhsl(62, 70%, 32%)
HSVhsv(62, 82%, 55%)
CMYKcmyk(2.1%, 0%, 82.1%, 45.1%)
CIE-LABlab(56.23, -14.60, 55.22)
CIE-LCHlch(56.23, 57.12, 104.81°)
OKLaboklab(61.77% -0.0464 0.1196)
OKLCHoklch(61.77% 0.128 111.2)
XYZxyz(19.8708, 24.1453, 4.5333)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C19 #1C198C
analogous
#8C5519 #898C19 #508C19
triadic
#898C19 #19898C #8C1989
tetradic
#898C19 #198C55 #1C198C #8C1950
square
#898C19 #198C55 #1C198C #8C1950
split-complementary
#898C19 #19508C #55198C
monochromatic
#232406 #565810 #898C19 #BCC022 #D9DD42

Accessibility & contrast

On white

3.60
#898C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#898C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C19
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C19#FFFFFF#000000##000000
##898C191.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c19;
/* rgb */ color: rgb(137, 140, 25);
/* oklch */ color: oklch(61.8% 0.128 111.2);
Tailwind
colors: {
  custom: {
    50: '#afad62',
    500: '#898c19',
    950: '#000000',
  },
}
SCSS
$custom: #898c19;
$custom-light: #afad62;
$custom-dark: #000000;
JSON
{
  "hex": "#898c19",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 25
  },
  "hsl": {
    "h": 61.565,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.6177,
    "c": 0.1283,
    "h": 111.2
  },
  "luminance": 0.24145
}

Semantic roles & 50–950 ramp

primary
#898C19
secondary
#4643BE
accent
#3BED40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898C19

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

Preview Lab → · Contrast checker → · Palette generator →

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