#898318#898318

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

Color values

HEX#898318
RGBrgb(137, 131, 24)
HSLhsl(57, 70%, 32%)
HSVhsv(57, 82%, 54%)
CMYKcmyk(0%, 4.4%, 82.5%, 46.3%)
CIE-LABlab(53.62, -9.80, 53.23)
CIE-LCHlch(53.62, 54.13, 100.43°)
OKLaboklab(59.68% -0.0332 0.1151)
OKLCHoklch(59.68% 0.12 106.1)
XYZxyz(18.5985, 21.6176, 4.0569)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898318 #181E89
analogous
#894B18 #898318 #578918
triadic
#898318 #188983 #831889
tetradic
#898318 #18894B #181E89 #891857
square
#898318 #18894B #181E89 #891857
split-complementary
#898318 #185789 #4B1889
monochromatic
#211F06 #55510F #898318 #BDB521 #DDD53E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898318#FFFFFF#000000##000000
##8983181.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: #898318;
/* rgb */ color: rgb(137, 131, 24);
/* oklch */ color: oklch(59.7% 0.120 106.1);
Tailwind
colors: {
  custom: {
    50: '#afa660',
    500: '#898318',
    950: '#000000',
  },
}
SCSS
$custom: #898318;
$custom-light: #afa660;
$custom-dark: #000000;
JSON
{
  "hex": "#898318",
  "rgb": {
    "r": 137,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 56.814,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.11983,
    "h": 106.1
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

primary
#898318
secondary
#4047BD
accent
#44ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898318

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

Preview Lab → · Contrast checker → · Palette generator →

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