#498122#498122

#498122 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.139 H 135.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#498122
RGBrgb(73, 129, 34)
HSLhsl(95, 58%, 32%)
HSVhsv(95, 74%, 51%)
CMYKcmyk(43.4%, 0%, 73.6%, 49.4%)
CIE-LABlab(48.55, -35.42, 43.37)
CIE-LCHlch(48.55, 55.99, 129.24°)
OKLaboklab(54.46% -0.0988 0.098)
OKLCHoklch(54.46% 0.139 135.2)
XYZxyz(10.8864, 17.2319, 4.2655)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498122 #5A2281
analogous
#798122 #498122 #22812A
triadic
#498122 #224981 #812249
tetradic
#498122 #227981 #5A2281 #812A22
square
#498122 #227981 #5A2281 #812A22
split-complementary
#498122 #2A2281 #812279
monochromatic
#122008 #2E5115 #498122 #64B12F #83D04D

Accessibility & contrast

On white

4.72
#498122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#498122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498122
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498122#FFFFFF#000000##FFFFFF
##4981221.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#487C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #498122;
/* rgb */ color: rgb(73, 129, 34);
/* oklch */ color: oklch(54.5% 0.139 135.2);
Tailwind
colors: {
  custom: {
    50: '#81a663',
    500: '#498122',
    950: '#000000',
  },
}
SCSS
$custom: #498122;
$custom-light: #81a663;
$custom-dark: #000000;
JSON
{
  "hex": "#498122",
  "rgb": {
    "r": 73,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 95.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.13914,
    "h": 135.2
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#498122
secondary
#894BB3
accent
#46E1A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498122

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

Preview Lab → · Contrast checker → · Palette generator →

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