#898420#898420

#898420 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.117 H 106.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#898420
RGBrgb(137, 132, 32)
HSLhsl(57, 62%, 33%)
HSVhsv(57, 77%, 54%)
CMYKcmyk(0%, 3.6%, 76.6%, 46.3%)
CIE-LABlab(53.95, -10.03, 50.91)
CIE-LCHlch(53.95, 51.89, 101.14°)
OKLaboklab(59.96% -0.0331 0.1118)
OKLCHoklch(59.96% 0.117 106.5)
XYZxyz(18.8293, 21.9259, 4.6065)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898420 #202589
analogous
#894F20 #898420 #598920
triadic
#898420 #208984 #842089
tetradic
#898420 #20894F #202589 #892059
square
#898420 #20894F #202589 #892059
split-complementary
#898420 #205989 #4F2089
monochromatic
#262409 #575414 #898420 #BBB42C #D6CF4E

Accessibility & contrast

On white

3.90
#898420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#898420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898420
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898420#FFFFFF#000000##000000
##8984201.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#937B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898420;
/* rgb */ color: rgb(137, 132, 32);
/* oklch */ color: oklch(60.0% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#afa764',
    500: '#898420',
    950: '#000000',
  },
}
SCSS
$custom: #898420;
$custom-light: #afa764;
$custom-dark: #000000;
JSON
{
  "hex": "#898420",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 57.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.11656,
    "h": 106.5
  },
  "luminance": 0.21925
}

Semantic roles & 50–950 ramp

primary
#898420
secondary
#4C51B9
accent
#4AE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898420

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

Preview Lab → · Contrast checker → · Palette generator →

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