#898216#898216

#898216 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.120 H 105.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#898216
RGBrgb(137, 130, 22)
HSLhsl(56, 72%, 31%)
HSVhsv(56, 84%, 54%)
CMYKcmyk(0%, 5.1%, 83.9%, 46.3%)
CIE-LABlab(53.32, -9.32, 53.56)
CIE-LCHlch(53.32, 54.36, 99.88°)
OKLaboklab(59.44% -0.032 0.1154)
OKLCHoklch(59.44% 0.12 105.5)
XYZxyz(18.4448, 21.3423, 3.9068)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898216 #161D89
analogous
#894816 #898216 #568916
triadic
#898216 #168982 #821689
tetradic
#898216 #168948 #161D89 #891656
square
#898216 #168948 #161D89 #891656
split-complementary
#898216 #165689 #481689
monochromatic
#201E05 #54500E #898216 #BEB41E #DFD53A

Accessibility & contrast

On white

3.99
#898216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#898216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898216
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898216#FFFFFF#000000##000000
##8982161.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#94786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898216;
/* rgb */ color: rgb(137, 130, 22);
/* oklch */ color: oklch(59.4% 0.120 105.5);
Tailwind
colors: {
  custom: {
    50: '#afa65f',
    500: '#898216',
    950: '#000000',
  },
}
SCSS
$custom: #898216;
$custom-light: #afa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#898216",
  "rgb": {
    "r": 137,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 56.348,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.11979,
    "h": 105.5
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#898216
secondary
#3E46BD
accent
#44EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898216

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

Preview Lab → · Contrast checker → · Palette generator →

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