#898C22#898C22

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

Color values

HEX#898C22
RGBrgb(137, 140, 34)
HSLhsl(62, 61%, 34%)
HSVhsv(62, 76%, 55%)
CMYKcmyk(2.1%, 0%, 75.7%, 45.1%)
CIE-LABlab(56.28, -14.23, 52.38)
CIE-LCHlch(56.28, 54.28, 105.20°)
OKLaboklab(61.82% -0.0446 0.1153)
OKLCHoklch(61.82% 0.124 111.2)
XYZxyz(19.9840, 24.1906, 5.1296)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C22 #25228C
analogous
#8C5A22 #898C22 #548C22
triadic
#898C22 #22898C #8C2289
tetradic
#898C22 #228C5A #25228C #8C2254
square
#898C22 #228C5A #25228C #8C2254
split-complementary
#898C22 #22548C #5A228C
monochromatic
#292A0A #595B16 #898C22 #B9BD2E #D2D553

Accessibility & contrast

On white

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

On black

5.84
#898C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C22
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C22#FFFFFF#000000##000000
##898C221.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850B
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#938378
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c22;
/* rgb */ color: rgb(137, 140, 34);
/* oklch */ color: oklch(61.8% 0.124 111.2);
Tailwind
colors: {
  custom: {
    50: '#afad66',
    500: '#898c22',
    950: '#000000',
  },
}
SCSS
$custom: #898c22;
$custom-light: #afad66;
$custom-dark: #000000;
JSON
{
  "hex": "#898c22",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 61.698,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.12361,
    "h": 111.2
  },
  "luminance": 0.2419
}

Semantic roles & 50–950 ramp

primary
#898C22
secondary
#5451B9
accent
#44E448
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898C22

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

Preview Lab → · Contrast checker → · Palette generator →

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