#898526#898526

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

Color values

HEX#898526
RGBrgb(137, 133, 38)
HSLhsl(58, 57%, 34%)
HSVhsv(58, 72%, 54%)
CMYKcmyk(0%, 2.9%, 72.3%, 46.3%)
CIE-LABlab(54.27, -10.27, 48.97)
CIE-LCHlch(54.27, 50.03, 101.85°)
OKLaboklab(60.23% -0.0332 0.1088)
OKLCHoklch(60.23% 0.114 107)
XYZxyz(19.0546, 22.2340, 5.1212)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898526 #262A89
analogous
#895426 #898526 #5C8926
triadic
#898526 #268985 #852689
tetradic
#898526 #268954 #262A89 #89265C
square
#898526 #268954 #262A89 #89265C
split-complementary
#898526 #265C89 #542689
monochromatic
#29280B #595619 #898526 #B9B433 #D1CC59

Accessibility & contrast

On white

3.86
#898526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##898526#FFFFFF#000000##000000
##8985261.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908016
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#937C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #898526;
/* rgb */ color: rgb(137, 133, 38);
/* oklch */ color: oklch(60.2% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#aea867',
    500: '#898526',
    950: '#000000',
  },
}
SCSS
$custom: #898526;
$custom-light: #aea867;
$custom-dark: #000000;
JSON
{
  "hex": "#898526",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 57.576,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60229,
    "c": 0.11374,
    "h": 107
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#898526
secondary
#5559B6
accent
#4EE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898526

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

Preview Lab → · Contrast checker → · Palette generator →

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