#898331#898331

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

Color values

HEX#898331
RGBrgb(137, 131, 49)
HSLhsl(56, 47%, 36%)
HSVhsv(56, 64%, 54%)
CMYKcmyk(0%, 4.4%, 64.2%, 46.3%)
CIE-LABlab(53.79, -8.51, 43.76)
CIE-LCHlch(53.79, 44.58, 101.00°)
OKLaboklab(59.87% -0.0269 0.0997)
OKLCHoklch(59.87% 0.103 105.1)
XYZxyz(18.9879, 21.7734, 6.1076)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898331 #313789
analogous
#895731 #898331 #638931
triadic
#898331 #318983 #833189
tetradic
#898331 #318957 #313789 #893163
square
#898331 #318957 #313789 #893163
split-complementary
#898331 #316389 #573189
monochromatic
#2F2D11 #5C5821 #898331 #B6AE41 #CAC36B

Accessibility & contrast

On white

3.92
#898331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#898331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898331
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898331#FFFFFF#000000##000000
##8983311.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E27
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#937A72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #898331;
/* rgb */ color: rgb(137, 131, 49);
/* oklch */ color: oklch(59.9% 0.103 105.1);
Tailwind
colors: {
  custom: {
    50: '#aea66d',
    500: '#898331',
    950: '#000000',
  },
}
SCSS
$custom: #898331;
$custom-light: #aea66d;
$custom-dark: #000000;
JSON
{
  "hex": "#898331",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 55.909,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.10327,
    "h": 105.1
  },
  "luminance": 0.21773
}

Semantic roles & 50–950 ramp

primary
#898331
secondary
#646AB1
accent
#5AD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #898331

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

Preview Lab → · Contrast checker → · Palette generator →

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