#498918#498918

#498918 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.5% C 0.155 H 135.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#498918
RGBrgb(73, 137, 24)
HSLhsl(94, 70%, 32%)
HSVhsv(94, 82%, 54%)
CMYKcmyk(46.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(51.12, -39.47, 49.36)
CIE-LCHlch(51.12, 63.20, 128.65°)
OKLaboklab(56.55% -0.1104 0.109)
OKLCHoklch(56.55% 0.155 135.4)
XYZxyz(11.8579, 19.3730, 3.9785)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498918 #581889
analogous
#828918 #498918 #188920
triadic
#498918 #184989 #891849
tetradic
#498918 #188289 #581889 #892018
square
#498918 #188289 #581889 #892018
split-complementary
#498918 #201889 #891882
monochromatic
#122106 #2D550F #498918 #65BD21 #83DD3E

Accessibility & contrast

On white

4.31
#498918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#498918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498918
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498918#FFFFFF#000000##000000
##4989181.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#478474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #498918;
/* rgb */ color: rgb(73, 137, 24);
/* oklch */ color: oklch(56.5% 0.155 135.4);
Tailwind
colors: {
  custom: {
    50: '#82ac60',
    500: '#498918',
    950: '#000000',
  },
}
SCSS
$custom: #498918;
$custom-light: #82ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#498918",
  "rgb": {
    "r": 73,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 93.982,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.15513,
    "h": 135.4
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#498918
secondary
#8740BD
accent
#3BEDA0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #498918

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

Preview Lab → · Contrast checker → · Palette generator →

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