#498818#498818

#498818 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.154 H 135.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#498818
RGBrgb(73, 136, 24)
HSLhsl(94, 70%, 31%)
HSVhsv(94, 82%, 53%)
CMYKcmyk(46.3%, 0%, 82.4%, 46.7%)
CIE-LABlab(50.79, -39.06, 49.06)
CIE-LCHlch(50.79, 62.70, 128.53°)
OKLaboklab(56.28% -0.1093 0.1083)
OKLCHoklch(56.28% 0.154 135.3)
XYZxyz(11.7164, 19.0900, 3.9314)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498818 #571888
analogous
#818818 #498818 #18881F
triadic
#498818 #184988 #881849
tetradic
#498818 #188188 #571888 #881F18
square
#498818 #188188 #571888 #881F18
split-complementary
#498818 #1F1888 #881881
monochromatic
#112006 #2D540F #498818 #65BC21 #83DD3E

Accessibility & contrast

On white

4.36
#498818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#498818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498818
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498818#FFFFFF#000000##000000
##4988181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#478374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #498818;
/* rgb */ color: rgb(73, 136, 24);
/* oklch */ color: oklch(56.3% 0.154 135.3);
Tailwind
colors: {
  custom: {
    50: '#82ab60',
    500: '#498818',
    950: '#000000',
  },
}
SCSS
$custom: #498818;
$custom-light: #82ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#498818",
  "rgb": {
    "r": 73,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 93.75,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.15388,
    "h": 135.3
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#498818
secondary
#8640BC
accent
#3BED9F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #498818

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

Preview Lab → · Contrast checker → · Palette generator →

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