#898521#898521

#898521 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.117 H 107.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#898521
RGBrgb(137, 133, 33)
HSLhsl(58, 61%, 33%)
HSVhsv(58, 76%, 54%)
CMYKcmyk(0%, 2.9%, 75.9%, 46.3%)
CIE-LABlab(54.24, -10.52, 50.83)
CIE-LCHlch(54.24, 51.91, 101.70°)
OKLaboklab(60.19% -0.0344 0.1118)
OKLCHoklch(60.19% 0.117 107.1)
XYZxyz(18.9793, 22.2039, 4.7246)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898521 #212589
analogous
#895121 #898521 #598921
triadic
#898521 #218985 #852189
tetradic
#898521 #218951 #212589 #892159
square
#898521 #218951 #212589 #892159
split-complementary
#898521 #215989 #512189
monochromatic
#262509 #585515 #898521 #BAB52D #D5D050

Accessibility & contrast

On white

3.86
#898521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#898521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898521
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898521#FFFFFF#000000##000000
##8985211.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#938329
Tritanopia (blue-blind)
#937C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #898521;
/* rgb */ color: rgb(137, 133, 33);
/* oklch */ color: oklch(60.2% 0.117 107.1);
Tailwind
colors: {
  custom: {
    50: '#afa865',
    500: '#898521',
    950: '#000000',
  },
}
SCSS
$custom: #898521;
$custom-light: #afa865;
$custom-dark: #000000;
JSON
{
  "hex": "#898521",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 57.692,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.11695,
    "h": 107.1
  },
  "luminance": 0.22203
}

Semantic roles & 50–950 ramp

primary
#898521
secondary
#4E52B8
accent
#4AE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898521

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

Preview Lab → · Contrast checker → · Palette generator →

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