#898B22#898B22

#898B22 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.123 H 110.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#898B22
RGBrgb(137, 139, 34)
HSLhsl(61, 61%, 34%)
HSVhsv(61, 76%, 55%)
CMYKcmyk(1.4%, 0%, 75.5%, 45.5%)
CIE-LABlab(55.99, -13.70, 52.11)
CIE-LCHlch(55.99, 53.88, 104.73°)
OKLaboklab(61.59% -0.0432 0.1147)
OKLCHoklch(61.59% 0.123 110.6)
XYZxyz(19.8386, 23.8996, 5.0811)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B22 #24228B
analogous
#8B5922 #898B22 #558B22
triadic
#898B22 #22898B #8B2289
tetradic
#898B22 #228B59 #24228B #8B2255
square
#898B22 #228B59 #24228B #8B2255
split-complementary
#898B22 #22558B #59228B
monochromatic
#28290A #595A16 #898B22 #B9BC2E #D2D553

Accessibility & contrast

On white

3.63
#898B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#898B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B22
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B22#FFFFFF#000000##000000
##898B221.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850B
Deuteranopia (green-blind)
#97882A
Tritanopia (blue-blind)
#938277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b22;
/* rgb */ color: rgb(137, 139, 34);
/* oklch */ color: oklch(61.6% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#afac66',
    500: '#898b22',
    950: '#000000',
  },
}
SCSS
$custom: #898b22;
$custom-light: #afac66;
$custom-dark: #000000;
JSON
{
  "hex": "#898b22",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 61.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.12254,
    "h": 110.6
  },
  "luminance": 0.23899
}

Semantic roles & 50–950 ramp

primary
#898B22
secondary
#5250B8
accent
#44E447
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B22

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

Preview Lab → · Contrast checker → · Palette generator →

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