#898916#898916

#898916 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.127 H 109.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#898916
RGBrgb(137, 137, 22)
HSLhsl(60, 72%, 31%)
HSVhsv(60, 84%, 54%)
CMYKcmyk(0%, 0%, 83.9%, 46.3%)
CIE-LABlab(55.35, -13.10, 55.29)
CIE-LCHlch(55.35, 56.82, 103.33°)
OKLaboklab(61.06% -0.0425 0.1192)
OKLCHoklch(61.06% 0.127 109.6)
XYZxyz(19.4078, 23.2682, 4.2278)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898916 #161689
analogous
#894F16 #898916 #4F8916
triadic
#898916 #168989 #891689
tetradic
#898916 #16894F #161689 #89164F
square
#898916 #16894F #161689 #89164F
split-complementary
#898916 #164F89 #4F1689
monochromatic
#202005 #54540E #898916 #BEBE1E #DFDF3A

Accessibility & contrast

On white

3.71
#898916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#898916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898916
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898916#FFFFFF#000000##000000
##8989161.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#938075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898916;
/* rgb */ color: rgb(137, 137, 22);
/* oklch */ color: oklch(61.1% 0.127 109.6);
Tailwind
colors: {
  custom: {
    50: '#afab60',
    500: '#898916',
    950: '#000000',
  },
}
SCSS
$custom: #898916;
$custom-light: #afab60;
$custom-dark: #000000;
JSON
{
  "hex": "#898916",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.12655,
    "h": 109.6
  },
  "luminance": 0.23268
}

Semantic roles & 50–950 ramp

primary
#898916
secondary
#3E3EBD
accent
#39EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898916

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

Preview Lab → · Contrast checker → · Palette generator →

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