#898E22#898E22

#898E22 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.126 H 112.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#898E22
RGBrgb(137, 142, 34)
HSLhsl(63, 61%, 35%)
HSVhsv(63, 76%, 56%)
CMYKcmyk(3.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(56.86, -15.28, 52.93)
CIE-LCHlch(56.86, 55.09, 106.11°)
OKLaboklab(62.29% -0.0476 0.1164)
OKLCHoklch(62.29% 0.126 112.2)
XYZxyz(20.2789, 24.7804, 5.2279)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E22 #27228E
analogous
#8E5D22 #898E22 #538E22
triadic
#898E22 #22898E #8E2289
tetradic
#898E22 #228E5D #27228E #8E2253
square
#898E22 #228E5D #27228E #8E2253
split-complementary
#898E22 #22538E #5D228E
monochromatic
#2A2B0A #595D16 #898E22 #B9BF2E #D0D654

Accessibility & contrast

On white

3.53
#898E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#898E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E22
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E22#FFFFFF#000000##000000
##898E221.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998709
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e22;
/* rgb */ color: rgb(137, 142, 34);
/* oklch */ color: oklch(62.3% 0.126 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae66',
    500: '#898e22',
    950: '#000000',
  },
}
SCSS
$custom: #898e22;
$custom-light: #afae66;
$custom-dark: #000000;
JSON
{
  "hex": "#898e22",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 62.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62287,
    "c": 0.12577,
    "h": 112.2
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#898E22
secondary
#5752BA
accent
#43E44B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E22

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

Preview Lab → · Contrast checker → · Palette generator →

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