#498B18#498B18

#498B18 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.1% C 0.158 H 135.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#498B18
RGBrgb(73, 139, 24)
HSLhsl(94, 71%, 32%)
HSVhsv(94, 83%, 55%)
CMYKcmyk(47.5%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.78, -40.31, 49.96)
CIE-LCHlch(51.78, 64.19, 128.89°)
OKLaboklab(57.09% -0.1126 0.1102)
OKLCHoklch(57.09% 0.158 135.6)
XYZxyz(12.1448, 19.9469, 4.0742)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498B18 #5A188B
analogous
#838B18 #498B18 #188B21
triadic
#498B18 #18498B #8B1849
tetradic
#498B18 #18838B #5A188B #8B2118
square
#498B18 #18838B #5A188B #8B2118
split-complementary
#498B18 #21188B #8B1883
monochromatic
#122306 #2E570F #498B18 #64BF21 #83DE3F

Accessibility & contrast

On white

4.21
#498B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#498B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498B18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498B18#FFFFFF#000000##000000
##498B181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#887926
Tritanopia (blue-blind)
#478576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #498b18;
/* rgb */ color: rgb(73, 139, 24);
/* oklch */ color: oklch(57.1% 0.158 135.6);
Tailwind
colors: {
  custom: {
    50: '#83ad60',
    500: '#498b18',
    950: '#000000',
  },
}
SCSS
$custom: #498b18;
$custom-light: #83ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#498b18",
  "rgb": {
    "r": 73,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 94.435,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57089,
    "c": 0.15761,
    "h": 135.6
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#498B18
secondary
#8940BE
accent
#3AEDA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #498B18

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

Preview Lab → · Contrast checker → · Palette generator →

#498B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva