#898317#898317

#898317 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.120 H 106.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#898317
RGBrgb(137, 131, 23)
HSLhsl(57, 71%, 31%)
HSVhsv(57, 83%, 54%)
CMYKcmyk(0%, 4.4%, 83.2%, 46.3%)
CIE-LABlab(53.61, -9.84, 53.52)
CIE-LCHlch(53.61, 54.42, 100.41°)
OKLaboklab(59.68% -0.0333 0.1156)
OKLCHoklch(59.68% 0.12 106.1)
XYZxyz(18.5883, 21.6135, 4.0031)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898317 #171D89
analogous
#894A17 #898317 #568917
triadic
#898317 #178983 #831789
tetradic
#898317 #17894A #171D89 #891756
square
#898317 #17894A #171D89 #891756
split-complementary
#898317 #175689 #4A1789
monochromatic
#201F05 #55510E #898317 #BDB520 #DED63C

Accessibility & contrast

On white

3.95
#898317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#898317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898317
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898317#FFFFFF#000000##000000
##8983171.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#947A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #898317;
/* rgb */ color: rgb(137, 131, 23);
/* oklch */ color: oklch(59.7% 0.120 106.1);
Tailwind
colors: {
  custom: {
    50: '#afa660',
    500: '#898317',
    950: '#000000',
  },
}
SCSS
$custom: #898317;
$custom-light: #afa660;
$custom-dark: #000000;
JSON
{
  "hex": "#898317",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 56.842,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.12028,
    "h": 106.1
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#898317
secondary
#3F46BD
accent
#43EE3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898317

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

Preview Lab → · Contrast checker → · Palette generator →

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