#898316#898316

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

Color values

HEX#898316
RGBrgb(137, 131, 22)
HSLhsl(57, 72%, 31%)
HSVhsv(57, 84%, 54%)
CMYKcmyk(0%, 4.4%, 83.9%, 46.3%)
CIE-LABlab(53.61, -9.87, 53.80)
CIE-LCHlch(53.61, 54.70, 100.39°)
OKLaboklab(59.67% -0.0335 0.116)
OKLCHoklch(59.67% 0.121 106.1)
XYZxyz(18.5785, 21.6096, 3.9514)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898316 #161C89
analogous
#894916 #898316 #558916
triadic
#898316 #168983 #831689
tetradic
#898316 #168949 #161C89 #891655
square
#898316 #168949 #161C89 #891655
split-complementary
#898316 #165589 #491689
monochromatic
#201E05 #54510E #898316 #BEB51E #DFD73A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898316#FFFFFF#000000##000000
##8983161.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)
#928220
Tritanopia (blue-blind)
#947970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #898316;
/* rgb */ color: rgb(137, 131, 22);
/* oklch */ color: oklch(59.7% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#afa65f',
    500: '#898316',
    950: '#000000',
  },
}
SCSS
$custom: #898316;
$custom-light: #afa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#898316",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 56.87,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59671,
    "c": 0.12073,
    "h": 106.1
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#898316
secondary
#3E45BD
accent
#42EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898316

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

Preview Lab → · Contrast checker → · Palette generator →

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