#898726#898726

#898726 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.116 H 108.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#898726
RGBrgb(137, 135, 38)
HSLhsl(59, 57%, 34%)
HSVhsv(59, 72%, 54%)
CMYKcmyk(0%, 1.5%, 72.3%, 46.3%)
CIE-LABlab(54.85, -11.36, 49.53)
CIE-LCHlch(54.85, 50.82, 102.91°)
OKLaboklab(60.69% -0.0362 0.11)
OKLCHoklch(60.69% 0.116 108.2)
XYZxyz(19.3311, 22.7869, 5.2134)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898726 #262889
analogous
#895626 #898726 #5A8926
triadic
#898726 #268987 #872689
tetradic
#898726 #268956 #262889 #89265A
square
#898726 #268956 #262889 #89265A
split-complementary
#898726 #265A89 #562689
monochromatic
#29290B #595819 #898726 #B9B633 #D1CE59

Accessibility & contrast

On white

3.78
#898726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#898726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898726
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898726#FFFFFF#000000##000000
##8987261.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#937E74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898726;
/* rgb */ color: rgb(137, 135, 38);
/* oklch */ color: oklch(60.7% 0.116 108.2);
Tailwind
colors: {
  custom: {
    50: '#aea967',
    500: '#898726',
    950: '#000000',
  },
}
SCSS
$custom: #898726;
$custom-light: #aea967;
$custom-dark: #000000;
JSON
{
  "hex": "#898726",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 58.788,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.1158,
    "h": 108.2
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#898726
secondary
#5557B6
accent
#4BE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898726

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

Preview Lab → · Contrast checker → · Palette generator →

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