#898516#898516

#898516 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.1% C 0.123 H 107.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#898516
RGBrgb(137, 133, 22)
HSLhsl(58, 72%, 31%)
HSVhsv(58, 84%, 54%)
CMYKcmyk(0%, 2.9%, 83.9%, 46.3%)
CIE-LABlab(54.19, -10.95, 54.30)
CIE-LCHlch(54.19, 55.39, 101.41°)
OKLaboklab(60.13% -0.0365 0.1171)
OKLCHoklch(60.13% 0.123 107.3)
XYZxyz(18.8497, 22.1520, 4.0418)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898516 #161A89
analogous
#894B16 #898516 #538916
triadic
#898516 #168985 #851689
tetradic
#898516 #16894B #161A89 #891653
square
#898516 #16894B #161A89 #891653
split-complementary
#898516 #165389 #4B1689
monochromatic
#201F05 #54520E #898516 #BEB81E #DFDA3A

Accessibility & contrast

On white

3.87
#898516 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#898516 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898516
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898516#FFFFFF#000000##000000
##8985161.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#947C71
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #898516;
/* rgb */ color: rgb(137, 133, 22);
/* oklch */ color: oklch(60.1% 0.123 107.3);
Tailwind
colors: {
  custom: {
    50: '#afa860',
    500: '#898516',
    950: '#000000',
  },
}
SCSS
$custom: #898516;
$custom-light: #afa860;
$custom-dark: #000000;
JSON
{
  "hex": "#898516",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 22
  },
  "hsl": {
    "h": 57.913,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.12262,
    "h": 107.3
  },
  "luminance": 0.22151
}

Semantic roles & 50–950 ramp

primary
#898516
secondary
#3E42BD
accent
#3FEF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898516

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

Preview Lab → · Contrast checker → · Palette generator →

#898516 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva