#898528#898528

#898528 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.112 H 106.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#898528
RGBrgb(137, 133, 40)
HSLhsl(58, 55%, 35%)
HSVhsv(58, 71%, 54%)
CMYKcmyk(0%, 2.9%, 70.8%, 46.3%)
CIE-LABlab(54.29, -10.16, 48.18)
CIE-LCHlch(54.29, 49.24, 101.91°)
OKLaboklab(60.24% -0.0326 0.1075)
OKLCHoklch(60.24% 0.112 106.9)
XYZxyz(19.0878, 22.2473, 5.2958)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898528 #282C89
analogous
#895528 #898528 #5C8928
triadic
#898528 #288985 #852889
tetradic
#898528 #288955 #282C89 #89285C
square
#898528 #288955 #282C89 #89285C
split-complementary
#898528 #285C89 #552889
monochromatic
#2A290C #5A571A #898528 #B8B336 #CFCB5C

Accessibility & contrast

On white

3.85
#898528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#898528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898528
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898528#FFFFFF#000000##000000
##8985281.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#937C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #898528;
/* rgb */ color: rgb(137, 133, 40);
/* oklch */ color: oklch(60.2% 0.112 106.9);
Tailwind
colors: {
  custom: {
    50: '#aea868',
    500: '#898528',
    950: '#000000',
  },
}
SCSS
$custom: #898528;
$custom-light: #aea868;
$custom-dark: #000000;
JSON
{
  "hex": "#898528",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 57.526,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.11236,
    "h": 106.9
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#898528
secondary
#585CB5
accent
#50DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898528

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

Preview Lab → · Contrast checker → · Palette generator →

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