#898020#898020

#898020 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.113 H 103.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#898020
RGBrgb(137, 128, 32)
HSLhsl(55, 62%, 33%)
HSVhsv(55, 77%, 54%)
CMYKcmyk(0%, 6.6%, 76.6%, 46.3%)
CIE-LABlab(52.80, -7.84, 49.83)
CIE-LCHlch(52.80, 50.45, 98.94°)
OKLaboklab(59.04% -0.0269 0.1095)
OKLCHoklch(59.04% 0.113 103.8)
XYZxyz(18.2972, 20.8617, 4.4291)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898020 #202989
analogous
#894B20 #898020 #5D8920
triadic
#898020 #208980 #802089
tetradic
#898020 #20894B #202989 #89205D
square
#898020 #20894B #202989 #89205D
split-complementary
#898020 #205D89 #4B2089
monochromatic
#262309 #575214 #898020 #BBAE2C #D6CA4E

Accessibility & contrast

On white

4.06
#898020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#898020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898020
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898020#FFFFFF#000000##000000
##8980201.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0C
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#94776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #898020;
/* rgb */ color: rgb(137, 128, 32);
/* oklch */ color: oklch(59.0% 0.113 103.8);
Tailwind
colors: {
  custom: {
    50: '#afa463',
    500: '#898020',
    950: '#000000',
  },
}
SCSS
$custom: #898020;
$custom-light: #afa463;
$custom-dark: #000000;
JSON
{
  "hex": "#898020",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 54.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.11274,
    "h": 103.8
  },
  "luminance": 0.20861
}

Semantic roles & 50–950 ramp

primary
#898020
secondary
#4C55B9
accent
#51E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898020

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

Preview Lab → · Contrast checker → · Palette generator →

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