#498118#498118

#498118 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.145 H 134.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#498118
RGBrgb(73, 129, 24)
HSLhsl(92, 69%, 30%)
HSVhsv(92, 81%, 51%)
CMYKcmyk(43.4%, 0%, 81.4%, 49.4%)
CIE-LABlab(48.49, -36.07, 46.92)
CIE-LCHlch(48.49, 59.18, 127.56°)
OKLaboklab(54.39% -0.1013 0.1038)
OKLCHoklch(54.39% 0.145 134.3)
XYZxyz(10.7626, 17.1823, 3.6134)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498118 #501881
analogous
#7D8118 #498118 #18811C
triadic
#498118 #184981 #811849
tetradic
#498118 #187D81 #501881 #811C18
square
#498118 #187D81 #501881 #811C18
split-complementary
#498118 #1C1881 #81187D
monochromatic
#0F1A05 #2C4D0E #498118 #66B522 #84DA39

Accessibility & contrast

On white

4.73
#498118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#498118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498118
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498118#FFFFFF#000000##FFFFFF
##4981181.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #498118;
/* rgb */ color: rgb(73, 129, 24);
/* oklch */ color: oklch(54.4% 0.145 134.3);
Tailwind
colors: {
  custom: {
    50: '#81a65f',
    500: '#498118',
    950: '#000000',
  },
}
SCSS
$custom: #498118;
$custom-light: #81a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#498118",
  "rgb": {
    "r": 73,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 92,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.14505,
    "h": 134.3
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#498118
secondary
#7E40B5
accent
#3CEB9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #498118

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

Preview Lab → · Contrast checker → · Palette generator →

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