#898816#898816

#898816 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.8% C 0.126 H 109.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#898816
RGBrgb(137, 136, 22)
HSLhsl(59, 72%, 31%)
HSVhsv(59, 84%, 54%)
CMYKcmyk(0%, 0.7%, 83.9%, 46.3%)
CIE-LABlab(55.06, -12.57, 55.04)
CIE-LCHlch(55.06, 56.46, 102.86°)
OKLaboklab(60.83% -0.041 0.1187)
OKLCHoklch(60.83% 0.126 109.1)
XYZxyz(19.2663, 22.9852, 4.1806)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898816 #161789
analogous
#894E16 #898816 #508916
triadic
#898816 #168988 #881689
tetradic
#898816 #16894E #161789 #891650
square
#898816 #16894E #161789 #891650
split-complementary
#898816 #165089 #4E1689
monochromatic
#201F05 #54540E #898816 #BEBC1E #DFDE3A

Accessibility & contrast

On white

3.75
#898816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#898816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898816
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898816#FFFFFF#000000##000000
##8988161.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#937F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #898816;
/* rgb */ color: rgb(137, 136, 22);
/* oklch */ color: oklch(60.8% 0.126 109.1);
Tailwind
colors: {
  custom: {
    50: '#afaa60',
    500: '#898816',
    950: '#000000',
  },
}
SCSS
$custom: #898816;
$custom-light: #afaa60;
$custom-dark: #000000;
JSON
{
  "hex": "#898816",
  "rgb": {
    "r": 137,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 59.478,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60826,
    "c": 0.12555,
    "h": 109.1
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#898816
secondary
#3E3FBD
accent
#3AEF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898816

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

Preview Lab → · Contrast checker → · Palette generator →

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