#898D13#898D13

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

Color values

HEX#898D13
RGBrgb(137, 141, 19)
HSLhsl(62, 76%, 31%)
HSVhsv(62, 87%, 55%)
CMYKcmyk(2.8%, 0%, 86.5%, 44.7%)
CIE-LABlab(56.50, -15.31, 57.02)
CIE-LCHlch(56.50, 59.04, 105.03°)
OKLaboklab(61.98% -0.0488 0.1224)
OKLCHoklch(61.98% 0.132 111.7)
XYZxyz(19.9597, 24.4157, 4.2772)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898D13 #17138D
analogous
#8D5413 #898D13 #4C8D13
triadic
#898D13 #13898D #8D1389
tetradic
#898D13 #138D54 #17138D #8D134C
square
#898D13 #138D54 #17138D #8D134C
split-complementary
#898D13 #134C8D #54138D
monochromatic
#202104 #55570C #898D13 #BDC31A #DEE436

Accessibility & contrast

On white

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

On black

5.88
#898D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898D13
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898D13#FFFFFF#000000##000000
##898D131.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898d13;
/* rgb */ color: rgb(137, 141, 19);
/* oklch */ color: oklch(62.0% 0.132 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae60',
    500: '#898d13',
    950: '#000000',
  },
}
SCSS
$custom: #898d13;
$custom-light: #afae60;
$custom-dark: #000000;
JSON
{
  "hex": "#898d13",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 19
  },
  "hsl": {
    "h": 61.967,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.13179,
    "h": 111.7
  },
  "luminance": 0.24415
}

Semantic roles & 50–950 ramp

primary
#898D13
secondary
#3F3BC1
accent
#35F33B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898D13

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

Preview Lab → · Contrast checker → · Palette generator →

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