#898322#898322

#898322 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.114 H 105.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#898322
RGBrgb(137, 131, 34)
HSLhsl(57, 60%, 34%)
HSVhsv(57, 75%, 54%)
CMYKcmyk(0%, 4.4%, 75.2%, 46.3%)
CIE-LABlab(53.67, -9.39, 49.92)
CIE-LCHlch(53.67, 50.80, 100.65°)
OKLaboklab(59.74% -0.0311 0.1101)
OKLCHoklch(59.74% 0.114 105.8)
XYZxyz(18.7223, 21.6672, 4.7090)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898322 #222889
analogous
#894F22 #898322 #5B8922
triadic
#898322 #228983 #832289
tetradic
#898322 #22894F #222889 #89225B
square
#898322 #22894F #222889 #89225B
split-complementary
#898322 #225B89 #4F2289
monochromatic
#27250A #585416 #898322 #BAB22E #D4CC51

Accessibility & contrast

On white

3.94
#898322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#898322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898322
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898322#FFFFFF#000000##000000
##8983221.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0F
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#937A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #898322;
/* rgb */ color: rgb(137, 131, 34);
/* oklch */ color: oklch(59.7% 0.114 105.8);
Tailwind
colors: {
  custom: {
    50: '#afa665',
    500: '#898322',
    950: '#000000',
  },
}
SCSS
$custom: #898322;
$custom-light: #afa665;
$custom-dark: #000000;
JSON
{
  "hex": "#898322",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 56.505,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5974,
    "c": 0.11436,
    "h": 105.8
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#898322
secondary
#4F55B8
accent
#4EE344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898322

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

Preview Lab → · Contrast checker → · Palette generator →

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