#898C16#898C16

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

Color values

HEX#898C16
RGBrgb(137, 140, 22)
HSLhsl(62, 73%, 32%)
HSVhsv(62, 84%, 55%)
CMYKcmyk(2.1%, 0%, 84.3%, 45.1%)
CIE-LABlab(56.22, -14.70, 56.03)
CIE-LCHlch(56.22, 57.93, 104.70°)
OKLaboklab(61.76% -0.0469 0.1208)
OKLCHoklch(61.76% 0.13 111.2)
XYZxyz(19.8402, 24.1330, 4.3719)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C16 #19168C
analogous
#8C5416 #898C16 #4E8C16
triadic
#898C16 #16898C #8C1689
tetradic
#898C16 #168C54 #19168C #8C164E
square
#898C16 #168C54 #19168C #8C164E
split-complementary
#898C16 #164E8C #54168C
monochromatic
#212205 #55570E #898C16 #BDC11E #DCE03C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898C16#FFFFFF#000000##000000
##898C161.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)
#988822
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c16;
/* rgb */ color: rgb(137, 140, 22);
/* oklch */ color: oklch(61.8% 0.130 111.2);
Tailwind
colors: {
  custom: {
    50: '#afad61',
    500: '#898c16',
    950: '#000000',
  },
}
SCSS
$custom: #898c16;
$custom-light: #afad61;
$custom-dark: #000000;
JSON
{
  "hex": "#898c16",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 61.525,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.1296,
    "h": 111.2
  },
  "luminance": 0.24132
}

Semantic roles & 50–950 ramp

primary
#898C16
secondary
#413EC0
accent
#38F03D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898C16

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

Preview Lab → · Contrast checker → · Palette generator →

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