#898022#898022

#898022 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.112 H 103.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#898022
RGBrgb(137, 128, 34)
HSLhsl(55, 60%, 34%)
HSVhsv(55, 75%, 54%)
CMYKcmyk(0%, 6.6%, 75.2%, 46.3%)
CIE-LABlab(52.81, -7.75, 49.10)
CIE-LCHlch(52.81, 49.71, 98.96°)
OKLaboklab(59.05% -0.0265 0.1083)
OKLCHoklch(59.05% 0.112 103.7)
XYZxyz(18.3252, 20.8730, 4.5767)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898022 #222B89
analogous
#894C22 #898022 #5E8922
triadic
#898022 #228980 #802289
tetradic
#898022 #22894C #222B89 #89225E
square
#898022 #22894C #222B89 #89225E
split-complementary
#898022 #225E89 #4C2289
monochromatic
#27240A #585216 #898022 #BAAE2E #D4C951

Accessibility & contrast

On white

4.06
#898022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#898022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898022
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898022#FFFFFF#000000##000000
##8980221.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#94776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #898022;
/* rgb */ color: rgb(137, 128, 34);
/* oklch */ color: oklch(59.1% 0.112 103.7);
Tailwind
colors: {
  custom: {
    50: '#afa464',
    500: '#898022',
    950: '#000000',
  },
}
SCSS
$custom: #898022;
$custom-light: #afa464;
$custom-dark: #000000;
JSON
{
  "hex": "#898022",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 54.757,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.1115,
    "h": 103.7
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#898022
secondary
#4F58B8
accent
#52E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898022

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

Preview Lab → · Contrast checker → · Palette generator →

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