#898337#898337

#898337 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.098 H 104.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#898337
RGBrgb(137, 131, 55)
HSLhsl(56, 43%, 38%)
HSVhsv(56, 60%, 54%)
CMYKcmyk(0%, 4.4%, 59.9%, 46.3%)
CIE-LABlab(53.84, -8.07, 40.99)
CIE-LCHlch(53.84, 41.78, 101.13°)
OKLaboklab(59.93% -0.025 0.0947)
OKLCHoklch(59.93% 0.098 104.8)
XYZxyz(19.1230, 21.8274, 6.8195)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898337 #373D89
analogous
#895A37 #898337 #668937
triadic
#898337 #378983 #833789
tetradic
#898337 #37895A #373D89 #893766
square
#898337 #37895A #373D89 #893766
split-complementary
#898337 #376689 #5A3789
monochromatic
#322F14 #5D5925 #898337 #B5AD49 #C7C173

Accessibility & contrast

On white

3.91
#898337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#898337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898337
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898337#FFFFFF#000000##000000
##8983371.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2F
Deuteranopia (green-blind)
#90823B
Tritanopia (blue-blind)
#937B72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898337;
/* rgb */ color: rgb(137, 131, 55);
/* oklch */ color: oklch(59.9% 0.098 104.8);
Tailwind
colors: {
  custom: {
    50: '#aea671',
    500: '#898337',
    950: '#000000',
  },
}
SCSS
$custom: #898337;
$custom-light: #aea671;
$custom-dark: #000000;
JSON
{
  "hex": "#898337",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 55.61,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.09791,
    "h": 104.8
  },
  "luminance": 0.21827
}

Semantic roles & 50–950 ramp

primary
#898337
secondary
#6C71B0
accent
#5ED255
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #898337

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

Preview Lab → · Contrast checker → · Palette generator →

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