#498C1F#498C1F

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

Color values

HEX#498C1F
RGBrgb(73, 140, 31)
HSLhsl(97, 64%, 34%)
HSVhsv(97, 78%, 55%)
CMYKcmyk(47.9%, 0%, 77.9%, 45.1%)
CIE-LABlab(52.14, -40.31, 48.05)
CIE-LCHlch(52.14, 62.72, 130.00°)
OKLaboklab(57.4% -0.1122 0.1073)
OKLCHoklch(57.4% 0.155 136.3)
XYZxyz(12.3727, 20.2708, 4.5567)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498C1F #621F8C
analogous
#7F8C1F #498C1F #1F8C2B
triadic
#498C1F #1F498C #8C1F49
tetradic
#498C1F #1F7F8C #621F8C #8C2B1F
square
#498C1F #1F7F8C #621F8C #8C2B1F
split-complementary
#498C1F #2B1F8C #8C1F7F
monochromatic
#152809 #2F5A14 #498C1F #63BE2A #83D84E

Accessibility & contrast

On white

4.15
#498C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##498C1F#FFFFFF#000000##000000
##498C1F1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#468777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #498c1f;
/* rgb */ color: rgb(73, 140, 31);
/* oklch */ color: oklch(57.4% 0.155 136.3);
Tailwind
colors: {
  custom: {
    50: '#82ae63',
    500: '#498c1f',
    950: '#000000',
  },
}
SCSS
$custom: #498c1f;
$custom-light: #82ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#498c1f",
  "rgb": {
    "r": 73,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 96.881,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.574,
    "c": 0.15527,
    "h": 136.3
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#498C1F
secondary
#904CBB
accent
#41E7A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #498C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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