#898D17#898D17

#898D17 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.130 H 111.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#898D17
RGBrgb(137, 141, 23)
HSLhsl(62, 72%, 32%)
HSVhsv(62, 84%, 55%)
CMYKcmyk(2.8%, 0%, 83.7%, 44.7%)
CIE-LABlab(56.52, -15.19, 56.02)
CIE-LCHlch(56.52, 58.04, 105.17°)
OKLaboklab(61.99% -0.0482 0.121)
OKLCHoklch(61.99% 0.13 111.7)
XYZxyz(19.9968, 24.4305, 4.4726)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898D17 #1B178D
analogous
#8D5617 #898D17 #4E8D17
triadic
#898D17 #17898D #8D1789
tetradic
#898D17 #178D56 #1B178D #8D174E
square
#898D17 #178D56 #1B178D #8D174E
split-complementary
#898D17 #174E8D #56178D
monochromatic
#232406 #56580E #898D17 #BCC220 #DAE03F

Accessibility & contrast

On white

3.57
#898D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#898D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898D17
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898D17#FFFFFF#000000##000000
##898D171.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#938478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898d17;
/* rgb */ color: rgb(137, 141, 23);
/* oklch */ color: oklch(62.0% 0.130 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae61',
    500: '#898d17',
    950: '#000000',
  },
}
SCSS
$custom: #898d17;
$custom-light: #afae61;
$custom-dark: #000000;
JSON
{
  "hex": "#898d17",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 62.034,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.13023,
    "h": 111.7
  },
  "luminance": 0.2443
}

Semantic roles & 50–950 ramp

primary
#898D17
secondary
#4440C0
accent
#39EF3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898D17

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

Preview Lab → · Contrast checker → · Palette generator →

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