#898417#898417

#898417 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.121 H 106.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#898417
RGBrgb(137, 132, 23)
HSLhsl(57, 71%, 31%)
HSVhsv(57, 83%, 54%)
CMYKcmyk(0%, 3.6%, 83.2%, 46.3%)
CIE-LABlab(53.90, -10.38, 53.77)
CIE-LCHlch(53.90, 54.76, 100.93°)
OKLaboklab(59.91% -0.0349 0.1161)
OKLCHoklch(59.91% 0.121 106.7)
XYZxyz(18.7233, 21.8835, 4.0481)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898417 #171C89
analogous
#894B17 #898417 #558917
triadic
#898417 #178984 #841789
tetradic
#898417 #17894B #171C89 #891755
square
#898417 #17894B #171C89 #891755
split-complementary
#898417 #175589 #4B1789
monochromatic
#201F05 #55520E #898417 #BDB620 #DED73C

Accessibility & contrast

On white

3.91
#898417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#898417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898417
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898417#FFFFFF#000000##000000
##8984171.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#928321
Tritanopia (blue-blind)
#947B70
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898417;
/* rgb */ color: rgb(137, 132, 23);
/* oklch */ color: oklch(59.9% 0.121 106.7);
Tailwind
colors: {
  custom: {
    50: '#afa760',
    500: '#898417',
    950: '#000000',
  },
}
SCSS
$custom: #898417;
$custom-light: #afa760;
$custom-dark: #000000;
JSON
{
  "hex": "#898417",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 57.368,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.12122,
    "h": 106.7
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#898417
secondary
#3F45BD
accent
#42EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898417

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

Preview Lab → · Contrast checker → · Palette generator →

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