#498018#498018

#498018 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.1% C 0.144 H 134.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#498018
RGBrgb(73, 128, 24)
HSLhsl(92, 68%, 30%)
HSVhsv(92, 81%, 50%)
CMYKcmyk(43%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.16, -35.64, 46.61)
CIE-LCHlch(48.16, 58.67, 127.40°)
OKLaboklab(54.12% -0.1001 0.1032)
OKLCHoklch(54.12% 0.144 134.1)
XYZxyz(10.6315, 16.9202, 3.5697)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498018 #4F1880
analogous
#7D8018 #498018 #18801B
triadic
#498018 #184980 #801849
tetradic
#498018 #187D80 #4F1880 #801B18
square
#498018 #187D80 #4F1880 #801B18
split-complementary
#498018 #1B1880 #80187D
monochromatic
#0F1A05 #2C4C0E #498018 #66B422 #85DA39

Accessibility & contrast

On white

4.79
#498018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#498018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498018
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498018#FFFFFF#000000##FFFFFF
##4980181.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#487B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #498018;
/* rgb */ color: rgb(73, 128, 24);
/* oklch */ color: oklch(54.1% 0.144 134.1);
Tailwind
colors: {
  custom: {
    50: '#81a55e',
    500: '#498018',
    950: '#000000',
  },
}
SCSS
$custom: #498018;
$custom-light: #81a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#498018",
  "rgb": {
    "r": 73,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 91.731,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.14377,
    "h": 134.1
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#498018
secondary
#7D40B4
accent
#3DEB99
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #498018

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

Preview Lab → · Contrast checker → · Palette generator →

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