#898319#898319

#898319 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.119 H 106.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#898319
RGBrgb(137, 131, 25)
HSLhsl(57, 69%, 32%)
HSVhsv(57, 82%, 54%)
CMYKcmyk(0%, 4.4%, 81.8%, 46.3%)
CIE-LABlab(53.62, -9.77, 52.94)
CIE-LCHlch(53.62, 53.83, 100.45°)
OKLaboklab(59.69% -0.033 0.1147)
OKLCHoklch(59.69% 0.119 106)
XYZxyz(18.6091, 21.6219, 4.1127)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898319 #191F89
analogous
#894B19 #898319 #578919
triadic
#898319 #198983 #831989
tetradic
#898319 #19894B #191F89 #891957
square
#898319 #19894B #191F89 #891957
split-complementary
#898319 #195789 #4B1989
monochromatic
#212006 #555210 #898319 #BDB422 #DCD440

Accessibility & contrast

On white

3.94
#898319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#898319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898319
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898319#FFFFFF#000000##000000
##8983191.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#947A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #898319;
/* rgb */ color: rgb(137, 131, 25);
/* oklch */ color: oklch(59.7% 0.119 106.0);
Tailwind
colors: {
  custom: {
    50: '#afa661',
    500: '#898319',
    950: '#000000',
  },
}
SCSS
$custom: #898319;
$custom-light: #afa661;
$custom-dark: #000000;
JSON
{
  "hex": "#898319",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 56.786,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.11934,
    "h": 106
  },
  "luminance": 0.21621
}

Semantic roles & 50–950 ramp

primary
#898319
secondary
#4148BC
accent
#45EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898319

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

Preview Lab → · Contrast checker → · Palette generator →

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