#898321#898321

#898321 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.115 H 105.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#898321
RGBrgb(137, 131, 33)
HSLhsl(57, 61%, 33%)
HSVhsv(57, 76%, 54%)
CMYKcmyk(0%, 4.4%, 75.9%, 46.3%)
CIE-LABlab(53.67, -9.44, 50.28)
CIE-LCHlch(53.67, 51.16, 100.63°)
OKLaboklab(59.73% -0.0313 0.1106)
OKLCHoklch(59.73% 0.115 105.8)
XYZxyz(18.7081, 21.6615, 4.6342)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898321 #212789
analogous
#894F21 #898321 #5B8921
triadic
#898321 #218983 #832189
tetradic
#898321 #21894F #212789 #89215B
square
#898321 #21894F #212789 #89215B
split-complementary
#898321 #215B89 #4F2189
monochromatic
#262509 #585415 #898321 #BAB22D #D5CD50

Accessibility & contrast

On white

3.94
#898321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#898321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898321
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898321#FFFFFF#000000##000000
##8983211.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#937A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #898321;
/* rgb */ color: rgb(137, 131, 33);
/* oklch */ color: oklch(59.7% 0.115 105.8);
Tailwind
colors: {
  custom: {
    50: '#afa664',
    500: '#898321',
    950: '#000000',
  },
}
SCSS
$custom: #898321;
$custom-light: #afa664;
$custom-dark: #000000;
JSON
{
  "hex": "#898321",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 56.538,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.11498,
    "h": 105.8
  },
  "luminance": 0.21661
}

Semantic roles & 50–950 ramp

primary
#898321
secondary
#4E54B8
accent
#4DE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898321

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

Preview Lab → · Contrast checker → · Palette generator →

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