#898422#898422

#898422 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.115 H 106.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#898422
RGBrgb(137, 132, 34)
HSLhsl(57, 60%, 34%)
HSVhsv(57, 75%, 54%)
CMYKcmyk(0%, 3.6%, 75.2%, 46.3%)
CIE-LABlab(53.96, -9.93, 50.20)
CIE-LCHlch(53.96, 51.17, 101.19°)
OKLaboklab(59.97% -0.0326 0.1106)
OKLCHoklch(59.97% 0.115 106.4)
XYZxyz(18.8573, 21.9371, 4.7540)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898422 #222789
analogous
#895022 #898422 #5A8922
triadic
#898422 #228984 #842289
tetradic
#898422 #228950 #222789 #89225A
square
#898422 #228950 #222789 #89225A
split-complementary
#898422 #225A89 #502289
monochromatic
#27260A #585516 #898422 #BAB32E #D4CE51

Accessibility & contrast

On white

3.90
#898422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#898422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898422
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898422#FFFFFF#000000##000000
##8984221.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#937B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898422;
/* rgb */ color: rgb(137, 132, 34);
/* oklch */ color: oklch(60.0% 0.115 106.4);
Tailwind
colors: {
  custom: {
    50: '#afa765',
    500: '#898422',
    950: '#000000',
  },
}
SCSS
$custom: #898422;
$custom-light: #afa765;
$custom-dark: #000000;
JSON
{
  "hex": "#898422",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 57.087,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.11534,
    "h": 106.4
  },
  "luminance": 0.21936
}

Semantic roles & 50–950 ramp

primary
#898422
secondary
#4F54B8
accent
#4CE344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898422

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

Preview Lab → · Contrast checker → · Palette generator →

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