#898327#898327

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

Color values

HEX#898327
RGBrgb(137, 131, 39)
HSLhsl(56, 56%, 35%)
HSVhsv(56, 72%, 54%)
CMYKcmyk(0%, 4.4%, 71.5%, 46.3%)
CIE-LABlab(53.71, -9.13, 48.01)
CIE-LCHlch(53.71, 48.87, 100.77°)
OKLaboklab(59.78% -0.0298 0.107)
OKLCHoklch(59.78% 0.111 105.6)
XYZxyz(18.7998, 21.6981, 5.1169)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898327 #272D89
analogous
#895227 #898327 #5E8927
triadic
#898327 #278983 #832789
tetradic
#898327 #278952 #272D89 #89275E
square
#898327 #278952 #272D89 #89275E
split-complementary
#898327 #275E89 #522789
monochromatic
#2A280C #595519 #898327 #B9B135 #D0C95A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898327#FFFFFF#000000##000000
##8983271.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)
#8F7E19
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#937A71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #898327;
/* rgb */ color: rgb(137, 131, 39);
/* oklch */ color: oklch(59.8% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#aea667',
    500: '#898327',
    950: '#000000',
  },
}
SCSS
$custom: #898327;
$custom-light: #aea667;
$custom-dark: #000000;
JSON
{
  "hex": "#898327",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 56.327,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59777,
    "c": 0.11104,
    "h": 105.6
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#898327
secondary
#575CB5
accent
#52DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898327

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

Preview Lab → · Contrast checker → · Palette generator →

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