#898718#898718

#898718 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.124 H 108.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#898718
RGBrgb(137, 135, 24)
HSLhsl(59, 70%, 32%)
HSVhsv(59, 82%, 54%)
CMYKcmyk(0%, 1.5%, 82.5%, 46.3%)
CIE-LABlab(54.78, -11.97, 54.24)
CIE-LCHlch(54.78, 55.54, 102.44°)
OKLaboklab(60.6% -0.0392 0.1173)
OKLCHoklch(60.6% 0.124 108.5)
XYZxyz(19.1461, 22.7129, 4.2395)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898718 #181A89
analogous
#894F18 #898718 #538918
triadic
#898718 #188987 #871889
tetradic
#898718 #18894F #181A89 #891853
square
#898718 #18894F #181A89 #891853
split-complementary
#898718 #185389 #4F1889
monochromatic
#212006 #55540F #898718 #BDBA21 #DDDA3E

Accessibility & contrast

On white

3.79
#898718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#898718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898718
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898718#FFFFFF#000000##000000
##8987181.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#937E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898718;
/* rgb */ color: rgb(137, 135, 24);
/* oklch */ color: oklch(60.6% 0.124 108.5);
Tailwind
colors: {
  custom: {
    50: '#afa961',
    500: '#898718',
    950: '#000000',
  },
}
SCSS
$custom: #898718;
$custom-light: #afa961;
$custom-dark: #000000;
JSON
{
  "hex": "#898718",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 58.938,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.12369,
    "h": 108.5
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#898718
secondary
#4042BD
accent
#3EED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898718

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

Preview Lab → · Contrast checker → · Palette generator →

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