#898D22#898D22

#898D22 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.125 H 111.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#898D22
RGBrgb(137, 141, 34)
HSLhsl(62, 61%, 34%)
HSVhsv(62, 76%, 55%)
CMYKcmyk(2.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.57, -14.76, 52.66)
CIE-LCHlch(56.57, 54.69, 105.65°)
OKLaboklab(62.05% -0.0461 0.1159)
OKLCHoklch(62.05% 0.125 111.7)
XYZxyz(20.1308, 24.4841, 5.1785)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898D22 #26228D
analogous
#8D5C22 #898D22 #548D22
triadic
#898D22 #22898D #8D2289
tetradic
#898D22 #228D5C #26228D #8D2254
square
#898D22 #228D5C #26228D #8D2254
split-complementary
#898D22 #22548D #5C228D
monochromatic
#292A0A #595C16 #898D22 #B9BE2E #D1D654

Accessibility & contrast

On white

3.56
#898D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#898D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898D22
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898D22#FFFFFF#000000##000000
##898D221.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#938479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898d22;
/* rgb */ color: rgb(137, 141, 34);
/* oklch */ color: oklch(62.1% 0.125 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae66',
    500: '#898d22',
    950: '#000000',
  },
}
SCSS
$custom: #898d22;
$custom-light: #afae66;
$custom-dark: #000000;
JSON
{
  "hex": "#898d22",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 62.243,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.12469,
    "h": 111.7
  },
  "luminance": 0.24484
}

Semantic roles & 50–950 ramp

primary
#898D22
secondary
#5551B9
accent
#44E44A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898D22

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

Preview Lab → · Contrast checker → · Palette generator →

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