#498117#498117

#498117 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.146 H 134.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#498117
RGBrgb(73, 129, 23)
HSLhsl(92, 70%, 30%)
HSVhsv(92, 82%, 51%)
CMYKcmyk(43.4%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.48, -36.13, 47.23)
CIE-LCHlch(48.48, 59.46, 127.41°)
OKLaboklab(54.38% -0.1015 0.1043)
OKLCHoklch(54.38% 0.146 134.2)
XYZxyz(10.7524, 17.1783, 3.5596)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498117 #4F1781
analogous
#7E8117 #498117 #17811A
triadic
#498117 #174981 #811749
tetradic
#498117 #177E81 #4F1781 #811A17
square
#498117 #177E81 #4F1781 #811A17
split-complementary
#498117 #1A1781 #81177E
monochromatic
#0F1A05 #2C4D0E #498117 #66B520 #85DB37

Accessibility & contrast

On white

4.73
#498117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#498117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498117
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498117#FFFFFF#000000##FFFFFF
##4981171.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#487C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #498117;
/* rgb */ color: rgb(73, 129, 23);
/* oklch */ color: oklch(54.4% 0.146 134.2);
Tailwind
colors: {
  custom: {
    50: '#81a65e',
    500: '#498117',
    950: '#000000',
  },
}
SCSS
$custom: #498117;
$custom-light: #81a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#498117",
  "rgb": {
    "r": 73,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 91.698,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.14556,
    "h": 134.2
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

primary
#498117
secondary
#7D3EB5
accent
#3BED99
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #498117

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

Preview Lab → · Contrast checker → · Palette generator →

#498117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva