#898416#898416

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

Color values

HEX#898416
RGBrgb(137, 132, 22)
HSLhsl(57, 72%, 31%)
HSVhsv(57, 84%, 54%)
CMYKcmyk(0%, 3.6%, 83.9%, 46.3%)
CIE-LABlab(53.90, -10.41, 54.05)
CIE-LCHlch(53.90, 55.04, 100.90°)
OKLaboklab(59.9% -0.035 0.1165)
OKLCHoklch(59.9% 0.122 106.7)
XYZxyz(18.7134, 21.8795, 3.9963)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898416 #161B89
analogous
#894A16 #898416 #548916
triadic
#898416 #168984 #841689
tetradic
#898416 #16894A #161B89 #891654
square
#898416 #16894A #161B89 #891654
split-complementary
#898416 #165489 #4A1689
monochromatic
#201E05 #54510E #898416 #BEB71E #DFD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898416#FFFFFF#000000##000000
##8984161.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)
#928320
Tritanopia (blue-blind)
#947B70
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898416;
/* rgb */ color: rgb(137, 132, 22);
/* oklch */ color: oklch(59.9% 0.122 106.7);
Tailwind
colors: {
  custom: {
    50: '#afa760',
    500: '#898416',
    950: '#000000',
  },
}
SCSS
$custom: #898416;
$custom-light: #afa760;
$custom-dark: #000000;
JSON
{
  "hex": "#898416",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 22
  },
  "hsl": {
    "h": 57.391,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.12166,
    "h": 106.7
  },
  "luminance": 0.21879
}

Semantic roles & 50–950 ramp

primary
#898416
secondary
#3E43BD
accent
#41EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898416

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

Preview Lab → · Contrast checker → · Palette generator →

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