#498C18#498C18

#498C18 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.159 H 135.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#498C18
RGBrgb(73, 140, 24)
HSLhsl(95, 71%, 32%)
HSVhsv(95, 83%, 55%)
CMYKcmyk(47.9%, 0%, 82.9%, 45.1%)
CIE-LABlab(52.10, -40.72, 50.26)
CIE-LCHlch(52.10, 64.69, 129.01°)
OKLaboklab(57.36% -0.1137 0.1109)
OKLCHoklch(57.36% 0.159 135.7)
XYZxyz(12.2903, 20.2378, 4.1226)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498C18 #5B188C
analogous
#838C18 #498C18 #188C21
triadic
#498C18 #18498C #8C1849
tetradic
#498C18 #18838C #5B188C #8C2118
square
#498C18 #18838C #5B188C #8C2118
split-complementary
#498C18 #21188C #8C1883
monochromatic
#132406 #2E580F #498C18 #64C021 #83DE40

Accessibility & contrast

On white

4.16
#498C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#498C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498C18
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498C18#FFFFFF#000000##000000
##498C181.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#468677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #498c18;
/* rgb */ color: rgb(73, 140, 24);
/* oklch */ color: oklch(57.4% 0.159 135.7);
Tailwind
colors: {
  custom: {
    50: '#83ae60',
    500: '#498c18',
    950: '#000000',
  },
}
SCSS
$custom: #498c18;
$custom-light: #83ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#498c18",
  "rgb": {
    "r": 73,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 94.655,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57358,
    "c": 0.15884,
    "h": 135.7
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#498C18
secondary
#8A41BF
accent
#3AEDA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #498C18

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

Preview Lab → · Contrast checker → · Palette generator →

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