#898717#898717

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

Color values

HEX#898717
RGBrgb(137, 135, 23)
HSLhsl(59, 71%, 31%)
HSVhsv(59, 83%, 54%)
CMYKcmyk(0%, 1.5%, 83.2%, 46.3%)
CIE-LABlab(54.77, -12.00, 54.52)
CIE-LCHlch(54.77, 55.82, 102.41°)
OKLaboklab(60.6% -0.0394 0.1177)
OKLCHoklch(60.6% 0.124 108.5)
XYZxyz(19.1359, 22.7088, 4.1857)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898717 #171989
analogous
#894E17 #898717 #528917
triadic
#898717 #178987 #871789
tetradic
#898717 #17894E #171989 #891752
square
#898717 #17894E #171989 #891752
split-complementary
#898717 #175289 #4E1789
monochromatic
#202005 #55530E #898717 #BDBB20 #DEDB3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898717#FFFFFF#000000##000000
##8987171.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)
#958522
Tritanopia (blue-blind)
#947E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898717;
/* rgb */ color: rgb(137, 135, 23);
/* oklch */ color: oklch(60.6% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#afa960',
    500: '#898717',
    950: '#000000',
  },
}
SCSS
$custom: #898717;
$custom-light: #afa960;
$custom-dark: #000000;
JSON
{
  "hex": "#898717",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 58.947,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.12413,
    "h": 108.5
  },
  "luminance": 0.22708
}

Semantic roles & 50–950 ramp

primary
#898717
secondary
#3F41BD
accent
#3DEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898717

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

Preview Lab → · Contrast checker → · Palette generator →

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