#898522#898522

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

Color values

HEX#898522
RGBrgb(137, 133, 34)
HSLhsl(58, 60%, 34%)
HSVhsv(58, 75%, 54%)
CMYKcmyk(0%, 2.9%, 75.2%, 46.3%)
CIE-LABlab(54.25, -10.48, 50.47)
CIE-LCHlch(54.25, 51.55, 101.73°)
OKLaboklab(60.2% -0.0341 0.1112)
OKLCHoklch(60.2% 0.116 107.1)
XYZxyz(18.9935, 22.2096, 4.7994)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898522 #222689
analogous
#895122 #898522 #598922
triadic
#898522 #228985 #852289
tetradic
#898522 #228951 #222689 #892259
square
#898522 #228951 #222689 #892259
split-complementary
#898522 #225989 #512289
monochromatic
#27260A #585516 #898522 #BAB52E #D4CF51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898522#FFFFFF#000000##000000
##8985221.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)
#91800E
Deuteranopia (green-blind)
#938329
Tritanopia (blue-blind)
#937C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #898522;
/* rgb */ color: rgb(137, 133, 34);
/* oklch */ color: oklch(60.2% 0.116 107.1);
Tailwind
colors: {
  custom: {
    50: '#afa865',
    500: '#898522',
    950: '#000000',
  },
}
SCSS
$custom: #898522;
$custom-light: #afa865;
$custom-dark: #000000;
JSON
{
  "hex": "#898522",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 57.67,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.602,
    "c": 0.11634,
    "h": 107.1
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#898522
secondary
#4F53B8
accent
#4BE344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898522

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

Preview Lab → · Contrast checker → · Palette generator →

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