#898531#898531

#898531 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.105 H 106.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#898531
RGBrgb(137, 133, 49)
HSLhsl(57, 47%, 36%)
HSVhsv(57, 64%, 54%)
CMYKcmyk(0%, 2.9%, 64.2%, 46.3%)
CIE-LABlab(54.36, -9.60, 44.38)
CIE-LCHlch(54.36, 45.40, 102.21°)
OKLaboklab(60.33% -0.03 0.101)
OKLCHoklch(60.33% 0.105 106.6)
XYZxyz(19.2591, 22.3158, 6.1980)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898531 #313589
analogous
#895931 #898531 #618931
triadic
#898531 #318985 #853189
tetradic
#898531 #318959 #313589 #893161
square
#898531 #318959 #313589 #893161
split-complementary
#898531 #316189 #593189
monochromatic
#2F2D11 #5C5921 #898531 #B6B141 #CAC66B

Accessibility & contrast

On white

3.84
#898531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#898531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898531
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898531#FFFFFF#000000##000000
##8985311.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#937C73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #898531;
/* rgb */ color: rgb(137, 133, 49);
/* oklch */ color: oklch(60.3% 0.105 106.6);
Tailwind
colors: {
  custom: {
    50: '#aea86d',
    500: '#898531',
    950: '#000000',
  },
}
SCSS
$custom: #898531;
$custom-light: #aea86d;
$custom-dark: #000000;
JSON
{
  "hex": "#898531",
  "rgb": {
    "r": 137,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 57.273,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.10536,
    "h": 106.6
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#898531
secondary
#6468B1
accent
#57D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #898531

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

Preview Lab → · Contrast checker → · Palette generator →

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