#498222#498222

#498222 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.7% C 0.140 H 135.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#498222
RGBrgb(73, 130, 34)
HSLhsl(96, 59%, 32%)
HSVhsv(96, 74%, 51%)
CMYKcmyk(43.8%, 0%, 73.8%, 49%)
CIE-LABlab(48.88, -35.85, 43.70)
CIE-LCHlch(48.88, 56.53, 129.37°)
OKLaboklab(54.73% -0.1 0.0987)
OKLCHoklch(54.73% 0.14 135.4)
XYZxyz(11.0188, 17.4966, 4.3096)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498222 #5B2282
analogous
#798222 #498222 #22822B
triadic
#498222 #224982 #822249
tetradic
#498222 #227982 #5B2282 #822B22
square
#498222 #227982 #5B2282 #822B22
split-complementary
#498222 #2B2282 #822279
monochromatic
#132109 #2E5115 #498222 #64B32F #83D14E

Accessibility & contrast

On white

4.67
#498222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#498222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #498222
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498222#FFFFFF#000000##FFFFFF
##4982221.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#477D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #498222;
/* rgb */ color: rgb(73, 130, 34);
/* oklch */ color: oklch(54.7% 0.140 135.4);
Tailwind
colors: {
  custom: {
    50: '#81a764',
    500: '#498222',
    950: '#000000',
  },
}
SCSS
$custom: #498222;
$custom-light: #81a764;
$custom-dark: #000000;
JSON
{
  "hex": "#498222",
  "rgb": {
    "r": 73,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 95.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.14046,
    "h": 135.4
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#498222
secondary
#8A4CB4
accent
#46E2A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498222

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

Preview Lab → · Contrast checker → · Palette generator →

#498222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva