#898817#898817

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

Color values

HEX#898817
RGBrgb(137, 136, 23)
HSLhsl(59, 71%, 31%)
HSVhsv(59, 83%, 54%)
CMYKcmyk(0%, 0.7%, 83.2%, 46.3%)
CIE-LABlab(55.06, -12.54, 54.77)
CIE-LCHlch(55.06, 56.19, 102.89°)
OKLaboklab(60.83% -0.0409 0.1183)
OKLCHoklch(60.83% 0.125 109.1)
XYZxyz(19.2761, 22.9892, 4.2324)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898817 #171889
analogous
#894F17 #898817 #518917
triadic
#898817 #178988 #881789
tetradic
#898817 #17894F #171889 #891751
square
#898817 #17894F #171889 #891751
split-complementary
#898817 #175189 #4F1789
monochromatic
#202005 #55540E #898817 #BDBC20 #DEDD3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898817#FFFFFF#000000##000000
##8988171.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)
#958522
Tritanopia (blue-blind)
#937F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #898817;
/* rgb */ color: rgb(137, 136, 23);
/* oklch */ color: oklch(60.8% 0.125 109.1);
Tailwind
colors: {
  custom: {
    50: '#afaa61',
    500: '#898817',
    950: '#000000',
  },
}
SCSS
$custom: #898817;
$custom-light: #afaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#898817",
  "rgb": {
    "r": 137,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 59.474,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.12512,
    "h": 109.1
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#898817
secondary
#3F40BD
accent
#3BEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898817

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

Preview Lab → · Contrast checker → · Palette generator →

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