#498221#498221

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

Color values

HEX#498221
RGBrgb(73, 130, 33)
HSLhsl(95, 60%, 32%)
HSVhsv(95, 75%, 51%)
CMYKcmyk(43.8%, 0%, 74.6%, 49%)
CIE-LABlab(48.87, -35.93, 44.09)
CIE-LCHlch(48.87, 56.87, 129.18°)
OKLaboklab(54.72% -0.1003 0.0993)
OKLCHoklch(54.72% 0.141 135.3)
XYZxyz(11.0045, 17.4909, 4.2348)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498221 #5A2182
analogous
#7A8221 #498221 #21822A
triadic
#498221 #214982 #822149
tetradic
#498221 #217A82 #5A2182 #822A21
square
#498221 #217A82 #5A2182 #822A21
split-complementary
#498221 #2A2182 #82217A
monochromatic
#122008 #2E5115 #498221 #64B32D #83D24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##498221#FFFFFF#000000##FFFFFF
##4982211.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)
#877710
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#477D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #498221;
/* rgb */ color: rgb(73, 130, 33);
/* oklch */ color: oklch(54.7% 0.141 135.3);
Tailwind
colors: {
  custom: {
    50: '#81a763',
    500: '#498221',
    950: '#000000',
  },
}
SCSS
$custom: #498221;
$custom-light: #81a763;
$custom-dark: #000000;
JSON
{
  "hex": "#498221",
  "rgb": {
    "r": 73,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 95.258,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.14113,
    "h": 135.3
  },
  "luminance": 0.17492
}

Semantic roles & 50–950 ramp

primary
#498221
secondary
#894AB4
accent
#45E3A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498221

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

Preview Lab → · Contrast checker → · Palette generator →

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