#898118#898118

#898118 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.118 H 104.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#898118
RGBrgb(137, 129, 24)
HSLhsl(56, 70%, 32%)
HSVhsv(56, 82%, 54%)
CMYKcmyk(0%, 5.8%, 82.5%, 46.3%)
CIE-LABlab(53.04, -8.71, 52.73)
CIE-LCHlch(53.04, 53.45, 99.38°)
OKLaboklab(59.22% -0.0301 0.1141)
OKLCHoklch(59.22% 0.118 104.8)
XYZxyz(18.3325, 21.0856, 3.9682)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898118 #182089
analogous
#894918 #898118 #598918
triadic
#898118 #188981 #811889
tetradic
#898118 #188949 #182089 #891859
square
#898118 #188949 #182089 #891859
split-complementary
#898118 #185989 #491889
monochromatic
#211F06 #55500F #898118 #BDB221 #DDD23E

Accessibility & contrast

On white

4.03
#898118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#898118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898118
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898118#FFFFFF#000000##000000
##8981181.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#94776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898118;
/* rgb */ color: rgb(137, 129, 24);
/* oklch */ color: oklch(59.2% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#afa560',
    500: '#898118',
    950: '#000000',
  },
}
SCSS
$custom: #898118;
$custom-light: #afa560;
$custom-dark: #000000;
JSON
{
  "hex": "#898118",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 55.752,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59222,
    "c": 0.11796,
    "h": 104.8
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#898118
secondary
#4049BD
accent
#47ED3B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898118

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

Preview Lab → · Contrast checker → · Palette generator →

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