#898421#898421

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

Color values

HEX#898421
RGBrgb(137, 132, 33)
HSLhsl(57, 61%, 33%)
HSVhsv(57, 76%, 54%)
CMYKcmyk(0%, 3.6%, 75.9%, 46.3%)
CIE-LABlab(53.95, -9.98, 50.56)
CIE-LCHlch(53.95, 51.53, 101.17°)
OKLaboklab(59.96% -0.0329 0.1112)
OKLCHoklch(59.96% 0.116 106.5)
XYZxyz(18.8431, 21.9314, 4.6792)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898421 #212689
analogous
#895021 #898421 #5A8921
triadic
#898421 #218984 #842189
tetradic
#898421 #218950 #212689 #89215A
square
#898421 #218950 #212689 #89215A
split-complementary
#898421 #215A89 #502189
monochromatic
#262509 #585415 #898421 #BAB42D #D5CE50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898421#FFFFFF#000000##000000
##8984211.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)
#907F0D
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#937B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898421;
/* rgb */ color: rgb(137, 132, 33);
/* oklch */ color: oklch(60.0% 0.116 106.5);
Tailwind
colors: {
  custom: {
    50: '#afa764',
    500: '#898421',
    950: '#000000',
  },
}
SCSS
$custom: #898421;
$custom-light: #afa764;
$custom-dark: #000000;
JSON
{
  "hex": "#898421",
  "rgb": {
    "r": 137,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 57.115,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.11595,
    "h": 106.5
  },
  "luminance": 0.21931
}

Semantic roles & 50–950 ramp

primary
#898421
secondary
#4E53B8
accent
#4BE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898421

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

Preview Lab → · Contrast checker → · Palette generator →

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