#898822#898822

#898822 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.119 H 108.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#898822
RGBrgb(137, 136, 34)
HSLhsl(59, 60%, 34%)
HSVhsv(59, 75%, 54%)
CMYKcmyk(0%, 0.7%, 75.2%, 46.3%)
CIE-LABlab(55.12, -12.09, 51.29)
CIE-LCHlch(55.12, 52.70, 103.27°)
OKLaboklab(60.89% -0.0387 0.113)
OKLCHoklch(60.89% 0.119 108.9)
XYZxyz(19.4101, 23.0428, 4.9383)
Luminance0.2304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898822 #222389
analogous
#895422 #898822 #568922
triadic
#898822 #228988 #882289
tetradic
#898822 #228954 #222389 #892256
square
#898822 #228954 #222389 #892256
split-complementary
#898822 #225689 #542289
monochromatic
#27270A #585716 #898822 #BAB92E #D4D351

Accessibility & contrast

On white

3.74
#898822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#898822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898822
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898822#FFFFFF#000000##000000
##8988221.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820D
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#937F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #898822;
/* rgb */ color: rgb(137, 136, 34);
/* oklch */ color: oklch(60.9% 0.119 108.9);
Tailwind
colors: {
  custom: {
    50: '#afaa65',
    500: '#898822',
    950: '#000000',
  },
}
SCSS
$custom: #898822;
$custom-light: #afaa65;
$custom-dark: #000000;
JSON
{
  "hex": "#898822",
  "rgb": {
    "r": 137,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 59.417,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.11939,
    "h": 108.9
  },
  "luminance": 0.23042
}

Semantic roles & 50–950 ramp

primary
#898822
secondary
#4F50B8
accent
#46E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898822

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

Preview Lab → · Contrast checker → · Palette generator →

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