#898A17#898A17

#898A17 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.127 H 110.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#898A17
RGBrgb(137, 138, 23)
HSLhsl(61, 71%, 32%)
HSVhsv(61, 83%, 54%)
CMYKcmyk(0.7%, 0%, 83.3%, 45.9%)
CIE-LABlab(55.64, -13.60, 55.27)
CIE-LCHlch(55.64, 56.92, 103.83°)
OKLaboklab(61.3% -0.0438 0.1193)
OKLCHoklch(61.3% 0.127 110.2)
XYZxyz(19.5604, 23.5578, 4.3272)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898A17 #18178A
analogous
#8A5217 #898A17 #508A17
triadic
#898A17 #17898A #8A1789
tetradic
#898A17 #178A52 #18178A #8A1750
square
#898A17 #178A52 #18178A #8A1750
split-complementary
#898A17 #17508A #52178A
monochromatic
#212106 #55560E #898A17 #BDBE20 #DDDF3D

Accessibility & contrast

On white

3.68
#898A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#898A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898A17
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898A17#FFFFFF#000000##000000
##898A171.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#938175
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898a17;
/* rgb */ color: rgb(137, 138, 23);
/* oklch */ color: oklch(61.3% 0.127 110.2);
Tailwind
colors: {
  custom: {
    50: '#afab61',
    500: '#898a17',
    950: '#000000',
  },
}
SCSS
$custom: #898a17;
$custom-light: #afab61;
$custom-dark: #000000;
JSON
{
  "hex": "#898a17",
  "rgb": {
    "r": 137,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 60.522,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.12713,
    "h": 110.2
  },
  "luminance": 0.23557
}

Semantic roles & 50–950 ramp

primary
#898A17
secondary
#403FBE
accent
#3AEE3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898A17

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

Preview Lab → · Contrast checker → · Palette generator →

#898A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva