#898221#898221

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

Color values

HEX#898221
RGBrgb(137, 130, 33)
HSLhsl(56, 61%, 33%)
HSVhsv(56, 76%, 54%)
CMYKcmyk(0%, 5.1%, 75.9%, 46.3%)
CIE-LABlab(53.38, -8.89, 50.01)
CIE-LCHlch(53.38, 50.80, 100.08°)
OKLaboklab(59.5% -0.0298 0.1101)
OKLCHoklch(59.5% 0.114 105.2)
XYZxyz(18.5745, 21.3942, 4.5896)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898221 #212889
analogous
#894E21 #898221 #5C8921
triadic
#898221 #218982 #822189
tetradic
#898221 #21894E #212889 #89215C
square
#898221 #21894E #212889 #89215C
split-complementary
#898221 #215C89 #4E2189
monochromatic
#262409 #585315 #898221 #BAB12D #D5CC50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898221#FFFFFF#000000##000000
##8982211.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)
#8E7D0E
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#94796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898221;
/* rgb */ color: rgb(137, 130, 33);
/* oklch */ color: oklch(59.5% 0.114 105.2);
Tailwind
colors: {
  custom: {
    50: '#afa664',
    500: '#898221',
    950: '#000000',
  },
}
SCSS
$custom: #898221;
$custom-light: #afa664;
$custom-dark: #000000;
JSON
{
  "hex": "#898221",
  "rgb": {
    "r": 137,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 55.962,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.11401,
    "h": 105.2
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#898221
secondary
#4E55B8
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898221

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

Preview Lab → · Contrast checker → · Palette generator →

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