#898218#898218

#898218 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.119 H 105.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#898218
RGBrgb(137, 130, 24)
HSLhsl(56, 70%, 32%)
HSVhsv(56, 82%, 54%)
CMYKcmyk(0%, 5.1%, 82.5%, 46.3%)
CIE-LABlab(53.33, -9.26, 52.98)
CIE-LCHlch(53.33, 53.78, 99.91°)
OKLaboklab(59.45% -0.0316 0.1146)
OKLCHoklch(59.45% 0.119 105.4)
XYZxyz(18.4648, 21.3503, 4.0124)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898218 #181F89
analogous
#894A18 #898218 #588918
triadic
#898218 #188982 #821889
tetradic
#898218 #18894A #181F89 #891858
square
#898218 #18894A #181F89 #891858
split-complementary
#898218 #185889 #4A1889
monochromatic
#211F06 #55510F #898218 #BDB321 #DDD33E

Accessibility & contrast

On white

3.98
#898218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#898218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898218
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898218#FFFFFF#000000##000000
##8982181.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#918121
Tritanopia (blue-blind)
#94796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898218;
/* rgb */ color: rgb(137, 130, 24);
/* oklch */ color: oklch(59.5% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#afa660',
    500: '#898218',
    950: '#000000',
  },
}
SCSS
$custom: #898218;
$custom-light: #afa660;
$custom-dark: #000000;
JSON
{
  "hex": "#898218",
  "rgb": {
    "r": 137,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 56.283,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.11888,
    "h": 105.4
  },
  "luminance": 0.2135
}

Semantic roles & 50–950 ramp

primary
#898218
secondary
#4048BD
accent
#46ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #898218

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

Preview Lab → · Contrast checker → · Palette generator →

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