#498B1F#498B1F

#498B1F is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.1% C 0.154 H 136.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#498B1F
RGBrgb(73, 139, 31)
HSLhsl(97, 64%, 33%)
HSVhsv(97, 78%, 55%)
CMYKcmyk(47.5%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.81, -39.90, 47.73)
CIE-LCHlch(51.81, 62.21, 129.89°)
OKLaboklab(57.13% -0.1111 0.1066)
OKLCHoklch(57.13% 0.154 136.2)
XYZxyz(12.2273, 19.9799, 4.5083)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498B1F #611F8B
analogous
#7F8B1F #498B1F #1F8B2B
triadic
#498B1F #1F498B #8B1F49
tetradic
#498B1F #1F7F8B #611F8B #8B2B1F
square
#498B1F #1F7F8B #611F8B #8B2B1F
split-complementary
#498B1F #2B1F8B #8B1F7F
monochromatic
#142709 #2F5914 #498B1F #63BD2A #83D74D

Accessibility & contrast

On white

4.20
#498B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#498B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498B1F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498B1F#FFFFFF#000000##000000
##498B1F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#877A2A
Tritanopia (blue-blind)
#468677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #498b1f;
/* rgb */ color: rgb(73, 139, 31);
/* oklch */ color: oklch(57.1% 0.154 136.2);
Tailwind
colors: {
  custom: {
    50: '#82ad63',
    500: '#498b1f',
    950: '#000000',
  },
}
SCSS
$custom: #498b1f;
$custom-light: #82ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#498b1f",
  "rgb": {
    "r": 73,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 96.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.154,
    "h": 136.2
  },
  "luminance": 0.19981
}

Semantic roles & 50–950 ramp

primary
#498B1F
secondary
#8F4CBA
accent
#41E7A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #498B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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