#498F1F#498F1F

#498F1F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.159 H 136.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#498F1F
RGBrgb(73, 143, 31)
HSLhsl(98, 64%, 34%)
HSVhsv(98, 78%, 56%)
CMYKcmyk(49%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.12, -41.55, 49.00)
CIE-LCHlch(53.12, 64.24, 130.30°)
OKLaboklab(58.21% -0.1155 0.1093)
OKLCHoklch(58.21% 0.159 136.6)
XYZxyz(12.8171, 21.1595, 4.7049)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498F1F #651F8F
analogous
#818F1F #498F1F #1F8F2D
triadic
#498F1F #1F498F #8F1F49
tetradic
#498F1F #1F818F #651F8F #8F2D1F
square
#498F1F #1F818F #651F8F #8F2D1F
split-complementary
#498F1F #2D1F8F #8F1F81
monochromatic
#162A09 #2F5D14 #498F1F #63C12A #83D94F

Accessibility & contrast

On white

4.01
#498F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#498F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498F1F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498F1F#FFFFFF#000000##000000
##498F1F1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948203
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#458A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #498f1f;
/* rgb */ color: rgb(73, 143, 31);
/* oklch */ color: oklch(58.2% 0.159 136.6);
Tailwind
colors: {
  custom: {
    50: '#83b064',
    500: '#498f1f',
    950: '#000000',
  },
}
SCSS
$custom: #498f1f;
$custom-light: #83b064;
$custom-dark: #000000;
JSON
{
  "hex": "#498f1f",
  "rgb": {
    "r": 73,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 97.5,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.15904,
    "h": 136.6
  },
  "luminance": 0.2116
}

Semantic roles & 50–950 ramp

primary
#498F1F
secondary
#934EBC
accent
#40E7A9
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #498F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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