#898338#898338

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

Color values

HEX#898338
RGBrgb(137, 131, 56)
HSLhsl(56, 42%, 38%)
HSVhsv(56, 59%, 54%)
CMYKcmyk(0%, 4.4%, 59.1%, 46.3%)
CIE-LABlab(53.85, -7.99, 40.52)
CIE-LCHlch(53.85, 41.30, 101.15°)
OKLaboklab(59.94% -0.0246 0.0938)
OKLCHoklch(59.94% 0.097 104.7)
XYZxyz(19.1473, 21.8371, 6.9470)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898338 #383E89
analogous
#895B38 #898338 #668938
triadic
#898338 #388983 #833889
tetradic
#898338 #38895B #383E89 #893866
square
#898338 #38895B #383E89 #893866
split-complementary
#898338 #386689 #5B3889
monochromatic
#323014 #5E5926 #898338 #B4AD4A #C7C075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898338#FFFFFF#000000##000000
##8983381.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)
#8E7F30
Deuteranopia (green-blind)
#90823C
Tritanopia (blue-blind)
#927B73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898338;
/* rgb */ color: rgb(137, 131, 56);
/* oklch */ color: oklch(59.9% 0.097 104.7);
Tailwind
colors: {
  custom: {
    50: '#aea671',
    500: '#898338',
    950: '#000000',
  },
}
SCSS
$custom: #898338;
$custom-light: #aea671;
$custom-dark: #000000;
JSON
{
  "hex": "#898338",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 55.556,
    "s": 41.969,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59943,
    "c": 0.09697,
    "h": 104.7
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#898338
secondary
#6D72AF
accent
#5FD256
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #898338

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

Preview Lab → · Contrast checker → · Palette generator →

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