#898617#898617

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

Color values

HEX#898617
RGBrgb(137, 134, 23)
HSLhsl(58, 71%, 31%)
HSVhsv(58, 83%, 54%)
CMYKcmyk(0%, 2.2%, 83.2%, 46.3%)
CIE-LABlab(54.48, -11.46, 54.27)
CIE-LCHlch(54.48, 55.47, 101.92°)
OKLaboklab(60.37% -0.0379 0.1172)
OKLCHoklch(60.37% 0.123 107.9)
XYZxyz(18.9971, 22.4311, 4.1394)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898617 #171A89
analogous
#894D17 #898617 #538917
triadic
#898617 #178986 #861789
tetradic
#898617 #17894D #171A89 #891753
square
#898617 #17894D #171A89 #891753
split-complementary
#898617 #175389 #4D1789
monochromatic
#201F05 #55530E #898617 #BDB920 #DEDA3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898617#FFFFFF#000000##000000
##8986171.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: #898617;
/* rgb */ color: rgb(137, 134, 23);
/* oklch */ color: oklch(60.4% 0.123 107.9);
Tailwind
colors: {
  custom: {
    50: '#afa860',
    500: '#898617',
    950: '#000000',
  },
}
SCSS
$custom: #898617;
$custom-light: #afa860;
$custom-dark: #000000;
JSON
{
  "hex": "#898617",
  "rgb": {
    "r": 137,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 58.421,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60368,
    "c": 0.12315,
    "h": 107.9
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#898617
secondary
#3F42BD
accent
#3FEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898617

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

Preview Lab → · Contrast checker → · Palette generator →

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