#898D15#898D15

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

Color values

HEX#898D15
RGBrgb(137, 141, 21)
HSLhsl(62, 74%, 32%)
HSVhsv(62, 85%, 55%)
CMYKcmyk(2.8%, 0%, 85.1%, 44.7%)
CIE-LABlab(56.51, -15.25, 56.53)
CIE-LCHlch(56.51, 58.56, 105.10°)
OKLaboklab(61.99% -0.0485 0.1217)
OKLCHoklch(61.99% 0.131 111.7)
XYZxyz(19.9775, 24.4228, 4.3710)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898D15 #19158D
analogous
#8D5515 #898D15 #4D8D15
triadic
#898D15 #15898D #8D1589
tetradic
#898D15 #158D55 #19158D #8D154D
square
#898D15 #158D55 #19158D #8D154D
split-complementary
#898D15 #154D8D #55158D
monochromatic
#212205 #55580D #898D15 #BDC21D #DCE23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898D15#FFFFFF#000000##000000
##898D151.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)
#998922
Tritanopia (blue-blind)
#938478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898d15;
/* rgb */ color: rgb(137, 141, 21);
/* oklch */ color: oklch(62.0% 0.131 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae61',
    500: '#898d15',
    950: '#000000',
  },
}
SCSS
$custom: #898d15;
$custom-light: #afae61;
$custom-dark: #000000;
JSON
{
  "hex": "#898d15",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 62,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.13104,
    "h": 111.7
  },
  "luminance": 0.24422
}

Semantic roles & 50–950 ramp

primary
#898D15
secondary
#413DC1
accent
#37F13D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898D15

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

Preview Lab → · Contrast checker → · Palette generator →

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