#498318#498318

#498318 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 54.9% C 0.148 H 134.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#498318
RGBrgb(73, 131, 24)
HSLhsl(93, 69%, 30%)
HSVhsv(93, 82%, 51%)
CMYKcmyk(44.3%, 0%, 81.7%, 48.6%)
CIE-LABlab(49.15, -36.94, 47.53)
CIE-LCHlch(49.15, 60.20, 127.85°)
OKLaboklab(54.93% -0.1036 0.1051)
OKLCHoklch(54.93% 0.148 134.6)
XYZxyz(11.0286, 17.7144, 3.7021)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498318 #521883
analogous
#7E8318 #498318 #18831C
triadic
#498318 #184983 #831849
tetradic
#498318 #187E83 #521883 #831C18
square
#498318 #187E83 #521883 #831C18
split-complementary
#498318 #1C1883 #83187E
monochromatic
#0F1C05 #2C4F0F #498318 #66B721 #84DB3A

Accessibility & contrast

On white

4.62
#498318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#498318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #498318
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498318#FFFFFF#000000##FFFFFF
##4983181.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#487E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #498318;
/* rgb */ color: rgb(73, 131, 24);
/* oklch */ color: oklch(54.9% 0.148 134.6);
Tailwind
colors: {
  custom: {
    50: '#82a75f',
    500: '#498318',
    950: '#000000',
  },
}
SCSS
$custom: #498318;
$custom-light: #82a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#498318",
  "rgb": {
    "r": 73,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 92.523,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.1476,
    "h": 134.6
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#498318
secondary
#8040B7
accent
#3CEC9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #498318

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

Preview Lab → · Contrast checker → · Palette generator →

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