#898716#898716

#898716 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.125 H 108.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#898716
RGBrgb(137, 135, 22)
HSLhsl(59, 72%, 31%)
HSVhsv(59, 84%, 54%)
CMYKcmyk(0%, 1.5%, 83.9%, 46.3%)
CIE-LABlab(54.77, -12.03, 54.79)
CIE-LCHlch(54.77, 56.10, 102.38°)
OKLaboklab(60.59% -0.0395 0.1181)
OKLCHoklch(60.59% 0.125 108.5)
XYZxyz(19.1261, 22.7049, 4.1339)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898716 #161889
analogous
#894D16 #898716 #518916
triadic
#898716 #168987 #871689
tetradic
#898716 #16894D #161889 #891651
square
#898716 #16894D #161889 #891651
split-complementary
#898716 #165189 #4D1689
monochromatic
#201F05 #54530E #898716 #BEBB1E #DFDC3A

Accessibility & contrast

On white

3.79
#898716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#898716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898716
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898716#FFFFFF#000000##000000
##8987161.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#947E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898716;
/* rgb */ color: rgb(137, 135, 22);
/* oklch */ color: oklch(60.6% 0.125 108.5);
Tailwind
colors: {
  custom: {
    50: '#afa960',
    500: '#898716',
    950: '#000000',
  },
}
SCSS
$custom: #898716;
$custom-light: #afa960;
$custom-dark: #000000;
JSON
{
  "hex": "#898716",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 58.957,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.12456,
    "h": 108.5
  },
  "luminance": 0.22704
}

Semantic roles & 50–950 ramp

primary
#898716
secondary
#3E40BD
accent
#3CEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898716

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

Preview Lab → · Contrast checker → · Palette generator →

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