#898222#898222

#898222 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.113 H 105.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#898222
RGBrgb(137, 130, 34)
HSLhsl(56, 60%, 34%)
HSVhsv(56, 75%, 54%)
CMYKcmyk(0%, 5.1%, 75.2%, 46.3%)
CIE-LABlab(53.38, -8.84, 49.65)
CIE-LCHlch(53.38, 50.43, 100.10°)
OKLaboklab(59.51% -0.0296 0.1095)
OKLCHoklch(59.51% 0.113 105.1)
XYZxyz(18.5887, 21.3998, 4.6645)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898222 #222989
analogous
#894E22 #898222 #5C8922
triadic
#898222 #228982 #822289
tetradic
#898222 #22894E #222989 #89225C
square
#898222 #22894E #222989 #89225C
split-complementary
#898222 #225C89 #4E2289
monochromatic
#27250A #585316 #898222 #BAB12E #D4CB51

Accessibility & contrast

On white

3.98
#898222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#898222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898222
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898222#FFFFFF#000000##000000
##8982221.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#94796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898222;
/* rgb */ color: rgb(137, 130, 34);
/* oklch */ color: oklch(59.5% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#afa665',
    500: '#898222',
    950: '#000000',
  },
}
SCSS
$custom: #898222;
$custom-light: #afa665;
$custom-dark: #000000;
JSON
{
  "hex": "#898222",
  "rgb": {
    "r": 137,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 55.922,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59511,
    "c": 0.11339,
    "h": 105.1
  },
  "luminance": 0.21399
}

Semantic roles & 50–950 ramp

primary
#898222
secondary
#4F56B8
accent
#4FE344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898222

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

Preview Lab → · Contrast checker → · Palette generator →

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