#898721#898721

#898721 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.119 H 108.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#898721
RGBrgb(137, 135, 33)
HSLhsl(59, 61%, 33%)
HSVhsv(59, 76%, 54%)
CMYKcmyk(0%, 1.5%, 75.9%, 46.3%)
CIE-LABlab(54.82, -11.60, 51.37)
CIE-LCHlch(54.82, 52.67, 102.73°)
OKLaboklab(60.65% -0.0374 0.1129)
OKLCHoklch(60.65% 0.119 108.3)
XYZxyz(19.2558, 22.7567, 4.8167)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898721 #212389
analogous
#895321 #898721 #578921
triadic
#898721 #218987 #872189
tetradic
#898721 #218953 #212389 #892157
square
#898721 #218953 #212389 #892157
split-complementary
#898721 #215789 #532189
monochromatic
#262609 #585615 #898721 #BAB82D #D5D250

Accessibility & contrast

On white

3.78
#898721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#898721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898721
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898721#FFFFFF#000000##000000
##8987211.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810B
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#937E74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898721;
/* rgb */ color: rgb(137, 135, 33);
/* oklch */ color: oklch(60.7% 0.119 108.3);
Tailwind
colors: {
  custom: {
    50: '#afa965',
    500: '#898721',
    950: '#000000',
  },
}
SCSS
$custom: #898721;
$custom-light: #afa965;
$custom-dark: #000000;
JSON
{
  "hex": "#898721",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 58.846,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.11897,
    "h": 108.3
  },
  "luminance": 0.22756
}

Semantic roles & 50–950 ramp

primary
#898721
secondary
#4E50B8
accent
#47E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898721

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

Preview Lab → · Contrast checker → · Palette generator →

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