#898326#898326

#898326 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.112 H 105.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#898326
RGBrgb(137, 131, 38)
HSLhsl(56, 57%, 34%)
HSVhsv(56, 72%, 54%)
CMYKcmyk(0%, 4.4%, 72.3%, 46.3%)
CIE-LABlab(53.70, -9.19, 48.40)
CIE-LCHlch(53.70, 49.27, 100.74°)
OKLaboklab(59.77% -0.0301 0.1076)
OKLCHoklch(59.77% 0.112 105.6)
XYZxyz(18.7834, 21.6916, 5.0308)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898326 #262C89
analogous
#895226 #898326 #5E8926
triadic
#898326 #268983 #832689
tetradic
#898326 #268952 #262C89 #89265E
square
#898326 #268952 #262C89 #89265E
split-complementary
#898326 #265E89 #522689
monochromatic
#29270B #595519 #898326 #B9B133 #D1CA59

Accessibility & contrast

On white

3.93
#898326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#898326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898326
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898326#FFFFFF#000000##000000
##8983261.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#937A71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #898326;
/* rgb */ color: rgb(137, 131, 38);
/* oklch */ color: oklch(59.8% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#aea667',
    500: '#898326',
    950: '#000000',
  },
}
SCSS
$custom: #898326;
$custom-light: #aea667;
$custom-dark: #000000;
JSON
{
  "hex": "#898326",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 56.364,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.11173,
    "h": 105.6
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#898326
secondary
#555BB6
accent
#51E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898326

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

Preview Lab → · Contrast checker → · Palette generator →

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