#498112#498112

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

Color values

HEX#498112
RGBrgb(73, 129, 18)
HSLhsl(90, 76%, 29%)
HSVhsv(90, 86%, 51%)
CMYKcmyk(43.4%, 0%, 86%, 49.4%)
CIE-LABlab(48.46, -36.37, 48.66)
CIE-LCHlch(48.46, 60.75, 126.78°)
OKLaboklab(54.36% -0.1024 0.1066)
OKLCHoklch(54.36% 0.148 133.9)
XYZxyz(10.7069, 17.1601, 3.3202)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498112 #4A1281
analogous
#818112 #498112 #128112
triadic
#498112 #124981 #811249
tetradic
#498112 #128181 #4A1281 #811212
square
#498112 #128181 #4A1281 #811212
split-complementary
#498112 #121281 #811281
monochromatic
#0F1B04 #2B4B0B #498112 #67B719 #86E22C

Accessibility & contrast

On white

4.74
#498112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#498112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498112
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498112#FFFFFF#000000##FFFFFF
##4981121.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#497C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #498112;
/* rgb */ color: rgb(73, 129, 18);
/* oklch */ color: oklch(54.4% 0.148 133.9);
Tailwind
colors: {
  custom: {
    50: '#82a65c',
    500: '#498112',
    950: '#000000',
  },
}
SCSS
$custom: #498112;
$custom-light: #82a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#498112",
  "rgb": {
    "r": 73,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 90.27,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.14781,
    "h": 133.9
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#498112
secondary
#7838B7
accent
#36F295
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #498112

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

Preview Lab → · Contrast checker → · Palette generator →

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