#898220#898220

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

Color values

HEX#898220
RGBrgb(137, 130, 32)
HSLhsl(56, 62%, 33%)
HSVhsv(56, 77%, 54%)
CMYKcmyk(0%, 5.1%, 76.6%, 46.3%)
CIE-LABlab(53.37, -8.94, 50.37)
CIE-LCHlch(53.37, 51.16, 100.06°)
OKLaboklab(59.5% -0.03 0.1106)
OKLCHoklch(59.5% 0.115 105.2)
XYZxyz(18.5607, 21.3886, 4.5170)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898220 #202789
analogous
#894D20 #898220 #5B8920
triadic
#898220 #208982 #822089
tetradic
#898220 #20894D #202789 #89205B
square
#898220 #20894D #202789 #89205B
split-complementary
#898220 #205B89 #4D2089
monochromatic
#262409 #575314 #898220 #BBB12C #D6CD4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898220#FFFFFF#000000##000000
##8982201.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)
#8E7D0B
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#94796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898220;
/* rgb */ color: rgb(137, 130, 32);
/* oklch */ color: oklch(59.5% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#afa664',
    500: '#898220',
    950: '#000000',
  },
}
SCSS
$custom: #898220;
$custom-light: #afa664;
$custom-dark: #000000;
JSON
{
  "hex": "#898220",
  "rgb": {
    "r": 137,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 56,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.11461,
    "h": 105.2
  },
  "luminance": 0.21388
}

Semantic roles & 50–950 ramp

primary
#898220
secondary
#4C53B9
accent
#4DE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898220

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

Preview Lab → · Contrast checker → · Palette generator →

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