#898517#898517

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

Color values

HEX#898517
RGBrgb(137, 133, 23)
HSLhsl(58, 71%, 31%)
HSVhsv(58, 83%, 54%)
CMYKcmyk(0%, 2.9%, 83.2%, 46.3%)
CIE-LABlab(54.19, -10.92, 54.02)
CIE-LCHlch(54.19, 55.11, 101.43°)
OKLaboklab(60.14% -0.0364 0.1166)
OKLCHoklch(60.14% 0.122 107.3)
XYZxyz(18.8595, 22.1560, 4.0935)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898517 #171B89
analogous
#894C17 #898517 #548917
triadic
#898517 #178985 #851789
tetradic
#898517 #17894C #171B89 #891754
square
#898517 #17894C #171B89 #891754
split-complementary
#898517 #175489 #4C1789
monochromatic
#201F05 #55520E #898517 #BDB820 #DED93C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898517#FFFFFF#000000##000000
##8985171.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: #898517;
/* rgb */ color: rgb(137, 133, 23);
/* oklch */ color: oklch(60.1% 0.122 107.3);
Tailwind
colors: {
  custom: {
    50: '#afa860',
    500: '#898517',
    950: '#000000',
  },
}
SCSS
$custom: #898517;
$custom-light: #afa860;
$custom-dark: #000000;
JSON
{
  "hex": "#898517",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 57.895,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60137,
    "c": 0.12218,
    "h": 107.3
  },
  "luminance": 0.22155
}

Semantic roles & 50–950 ramp

primary
#898517
secondary
#3F44BD
accent
#40EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898517

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

Preview Lab → · Contrast checker → · Palette generator →

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