#498126#498126

#498126 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.136 H 135.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#498126
RGBrgb(73, 129, 38)
HSLhsl(97, 54%, 33%)
HSVhsv(97, 71%, 51%)
CMYKcmyk(43.4%, 0%, 70.5%, 49.4%)
CIE-LABlab(48.58, -35.09, 41.75)
CIE-LCHlch(48.58, 54.54, 130.05°)
OKLaboklab(54.5% -0.0976 0.0952)
OKLCHoklch(54.5% 0.136 135.7)
XYZxyz(10.9475, 17.2563, 4.5873)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498126 #5E2681
analogous
#768126 #498126 #268130
triadic
#498126 #264981 #812649
tetradic
#498126 #267681 #5E2681 #813026
square
#498126 #267681 #5E2681 #813026
split-complementary
#498126 #302681 #812676
monochromatic
#13220A #2E5218 #498126 #64B034 #83CD55

Accessibility & contrast

On white

4.72
#498126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#498126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498126
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498126#FFFFFF#000000##FFFFFF
##4981261.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867619
Deuteranopia (green-blind)
#7E722E
Tritanopia (blue-blind)
#477C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #498126;
/* rgb */ color: rgb(73, 129, 38);
/* oklch */ color: oklch(54.5% 0.136 135.7);
Tailwind
colors: {
  custom: {
    50: '#81a666',
    500: '#498126',
    950: '#000000',
  },
}
SCSS
$custom: #498126;
$custom-light: #81a666;
$custom-dark: #000000;
JSON
{
  "hex": "#498126",
  "rgb": {
    "r": 73,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 96.923,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.13633,
    "h": 135.7
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#498126
secondary
#8C51B1
accent
#4ADEA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498126

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

Preview Lab → · Contrast checker → · Palette generator →

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