#898117#898117

#898117 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#898117
RGBrgb(137, 129, 23)
HSLhsl(56, 71%, 31%)
HSVhsv(56, 83%, 54%)
CMYKcmyk(0%, 5.8%, 83.2%, 46.3%)
CIE-LABlab(53.04, -8.74, 53.02)
CIE-LCHlch(53.04, 53.74, 99.36°)
OKLaboklab(59.22% -0.0303 0.1145)
OKLCHoklch(59.22% 0.118 104.8)
XYZxyz(18.3223, 21.0815, 3.9145)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898117 #171F89
analogous
#894817 #898117 #588917
triadic
#898117 #178981 #811789
tetradic
#898117 #178948 #171F89 #891758
square
#898117 #178948 #171F89 #891758
split-complementary
#898117 #175889 #481789
monochromatic
#201E05 #55500E #898117 #BDB220 #DED33C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898117#FFFFFF#000000##000000
##8981171.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)
#908120
Tritanopia (blue-blind)
#94776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #898117;
/* rgb */ color: rgb(137, 129, 23);
/* oklch */ color: oklch(59.2% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#afa560',
    500: '#898117',
    950: '#000000',
  },
}
SCSS
$custom: #898117;
$custom-light: #afa560;
$custom-dark: #000000;
JSON
{
  "hex": "#898117",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 55.789,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.11842,
    "h": 104.8
  },
  "luminance": 0.21081
}

Semantic roles & 50–950 ramp

primary
#898117
secondary
#3F48BD
accent
#46EE3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898117

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

Preview Lab → · Contrast checker → · Palette generator →

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