#898116#898116

#898116 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.119 H 104.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#898116
RGBrgb(137, 129, 22)
HSLhsl(56, 72%, 31%)
HSVhsv(56, 84%, 54%)
CMYKcmyk(0%, 5.8%, 83.9%, 46.3%)
CIE-LABlab(53.03, -8.78, 53.31)
CIE-LCHlch(53.03, 54.03, 99.35°)
OKLaboklab(59.21% -0.0305 0.1149)
OKLCHoklch(59.21% 0.119 104.9)
XYZxyz(18.3124, 21.0776, 3.8627)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898116 #161E89
analogous
#894716 #898116 #578916
triadic
#898116 #168981 #811689
tetradic
#898116 #168947 #161E89 #891657
square
#898116 #168947 #161E89 #891657
split-complementary
#898116 #165789 #471689
monochromatic
#201E05 #544F0E #898116 #BEB31E #DFD43A

Accessibility & contrast

On white

4.03
#898116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#898116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898116
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898116#FFFFFF#000000##000000
##8981161.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#94776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898116;
/* rgb */ color: rgb(137, 129, 22);
/* oklch */ color: oklch(59.2% 0.119 104.9);
Tailwind
colors: {
  custom: {
    50: '#afa55f',
    500: '#898116',
    950: '#000000',
  },
}
SCSS
$custom: #898116;
$custom-light: #afa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#898116",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 55.826,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.11887,
    "h": 104.9
  },
  "luminance": 0.21077
}

Semantic roles & 50–950 ramp

primary
#898116
secondary
#3E47BD
accent
#45EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898116

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

Preview Lab → · Contrast checker → · Palette generator →

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