#898616#898616

#898616 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.4% C 0.124 H 107.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#898616
RGBrgb(137, 134, 22)
HSLhsl(58, 72%, 31%)
HSVhsv(58, 84%, 54%)
CMYKcmyk(0%, 2.2%, 83.9%, 46.3%)
CIE-LABlab(54.48, -11.49, 54.54)
CIE-LCHlch(54.48, 55.74, 101.90°)
OKLaboklab(60.36% -0.038 0.1176)
OKLCHoklch(60.36% 0.124 107.9)
XYZxyz(18.9872, 22.4272, 4.0876)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898616 #161989
analogous
#894C16 #898616 #528916
triadic
#898616 #168986 #861689
tetradic
#898616 #16894C #161989 #891652
square
#898616 #16894C #161989 #891652
split-complementary
#898616 #165289 #4C1689
monochromatic
#201F05 #54520E #898616 #BEBA1E #DFDB3A

Accessibility & contrast

On white

3.83
#898616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#898616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898616
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898616#FFFFFF#000000##000000
##8986161.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#947D72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #898616;
/* rgb */ color: rgb(137, 134, 22);
/* oklch */ color: oklch(60.4% 0.124 107.9);
Tailwind
colors: {
  custom: {
    50: '#afa860',
    500: '#898616',
    950: '#000000',
  },
}
SCSS
$custom: #898616;
$custom-light: #afa860;
$custom-dark: #000000;
JSON
{
  "hex": "#898616",
  "rgb": {
    "r": 137,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 58.435,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.12358,
    "h": 107.9
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#898616
secondary
#3E41BD
accent
#3EEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898616

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

Preview Lab → · Contrast checker → · Palette generator →

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