#898C15#898C15

#898C15 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.130 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#898C15
RGBrgb(137, 140, 21)
HSLhsl(62, 74%, 32%)
HSVhsv(62, 85%, 55%)
CMYKcmyk(2.1%, 0%, 85%, 45.1%)
CIE-LABlab(56.22, -14.73, 56.29)
CIE-LCHlch(56.22, 58.18, 104.66°)
OKLaboklab(61.75% -0.0471 0.1212)
OKLCHoklch(61.75% 0.13 111.2)
XYZxyz(19.8307, 24.1292, 4.3221)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C15 #18158C
analogous
#8C5415 #898C15 #4E8C15
triadic
#898C15 #15898C #8C1589
tetradic
#898C15 #158C54 #18158C #8C154E
square
#898C15 #158C54 #18158C #8C154E
split-complementary
#898C15 #154E8C #54158C
monochromatic
#212205 #55570D #898C15 #BDC11D #DDE13A

Accessibility & contrast

On white

3.60
#898C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#898C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C15
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C15#FFFFFF#000000##000000
##898C151.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#988821
Tritanopia (blue-blind)
#938377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c15;
/* rgb */ color: rgb(137, 140, 21);
/* oklch */ color: oklch(61.8% 0.130 111.2);
Tailwind
colors: {
  custom: {
    50: '#afad60',
    500: '#898c15',
    950: '#000000',
  },
}
SCSS
$custom: #898c15;
$custom-light: #afad60;
$custom-dark: #000000;
JSON
{
  "hex": "#898c15",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 61.513,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61752,
    "c": 0.13,
    "h": 111.2
  },
  "luminance": 0.24129
}

Semantic roles & 50–950 ramp

primary
#898C15
secondary
#403DC0
accent
#37F13C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898C15

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

Preview Lab → · Contrast checker → · Palette generator →

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