#898820#898820

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

Color values

HEX#898820
RGBrgb(137, 136, 32)
HSLhsl(59, 62%, 33%)
HSVhsv(59, 77%, 54%)
CMYKcmyk(0%, 0.7%, 76.6%, 46.3%)
CIE-LABlab(55.10, -12.19, 51.99)
CIE-LCHlch(55.10, 53.40, 103.19°)
OKLaboklab(60.88% -0.0391 0.1141)
OKLCHoklch(60.88% 0.121 108.9)
XYZxyz(19.3821, 23.0316, 4.7908)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898820 #202189
analogous
#895420 #898820 #558920
triadic
#898820 #208988 #882089
tetradic
#898820 #208954 #202189 #892055
square
#898820 #208954 #202189 #892055
split-complementary
#898820 #205589 #542089
monochromatic
#262509 #575714 #898820 #BBB92C #D6D44E

Accessibility & contrast

On white

3.75
#898820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##898820#FFFFFF#000000##000000
##8988201.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#937F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #898820;
/* rgb */ color: rgb(137, 136, 32);
/* oklch */ color: oklch(60.9% 0.121 108.9);
Tailwind
colors: {
  custom: {
    50: '#afaa64',
    500: '#898820',
    950: '#000000',
  },
}
SCSS
$custom: #898820;
$custom-light: #afaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#898820",
  "rgb": {
    "r": 137,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 59.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.12058,
    "h": 108.9
  },
  "luminance": 0.23031
}

Semantic roles & 50–950 ramp

primary
#898820
secondary
#4C4DB9
accent
#44E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898820

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

Preview Lab → · Contrast checker → · Palette generator →

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