#498E1F#498E1F

#498E1F is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.158 H 136.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#498E1F
RGBrgb(73, 142, 31)
HSLhsl(97, 64%, 34%)
HSVhsv(97, 78%, 56%)
CMYKcmyk(48.6%, 0%, 78.2%, 44.3%)
CIE-LABlab(52.80, -41.14, 48.68)
CIE-LCHlch(52.80, 63.73, 130.20°)
OKLaboklab(57.94% -0.1144 0.1086)
OKLCHoklch(57.94% 0.158 136.5)
XYZxyz(12.6676, 20.8606, 4.6550)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498E1F #641F8E
analogous
#818E1F #498E1F #1F8E2C
triadic
#498E1F #1F498E #8E1F49
tetradic
#498E1F #1F818E #641F8E #8E2C1F
square
#498E1F #1F818E #641F8E #8E2C1F
split-complementary
#498E1F #2C1F8E #8E1F81
monochromatic
#152A09 #2F5C14 #498E1F #63C02A #83D94F

Accessibility & contrast

On white

4.06
#498E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#498E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498E1F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498E1F#FFFFFF#000000##000000
##498E1F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938204
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#468979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #498e1f;
/* rgb */ color: rgb(73, 142, 31);
/* oklch */ color: oklch(57.9% 0.158 136.5);
Tailwind
colors: {
  custom: {
    50: '#83b064',
    500: '#498e1f',
    950: '#000000',
  },
}
SCSS
$custom: #498e1f;
$custom-light: #83b064;
$custom-dark: #000000;
JSON
{
  "hex": "#498e1f",
  "rgb": {
    "r": 73,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 97.297,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.15779,
    "h": 136.5
  },
  "luminance": 0.20861
}

Semantic roles & 50–950 ramp

primary
#498E1F
secondary
#924DBB
accent
#41E7A8
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #498E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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