#498020#498020

#498020 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.139 H 134.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#498020
RGBrgb(73, 128, 32)
HSLhsl(94, 60%, 31%)
HSVhsv(94, 75%, 50%)
CMYKcmyk(43%, 0%, 75%, 49.8%)
CIE-LABlab(48.21, -35.13, 43.81)
CIE-LCHlch(48.21, 56.15, 128.72°)
OKLaboklab(54.18% -0.0981 0.0986)
OKLCHoklch(54.18% 0.139 134.9)
XYZxyz(10.7273, 16.9585, 4.0743)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498020 #572080
analogous
#798020 #498020 #208027
triadic
#498020 #204980 #802049
tetradic
#498020 #207980 #572080 #802720
square
#498020 #207980 #572080 #802720
split-complementary
#498020 #272080 #802079
monochromatic
#111E08 #2D4F14 #498020 #65B12C #83D149

Accessibility & contrast

On white

4.78
#498020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#498020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #498020
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498020#FFFFFF#000000##FFFFFF
##4980201.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#487B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #498020;
/* rgb */ color: rgb(73, 128, 32);
/* oklch */ color: oklch(54.2% 0.139 134.9);
Tailwind
colors: {
  custom: {
    50: '#81a562',
    500: '#498020',
    950: '#000000',
  },
}
SCSS
$custom: #498020;
$custom-light: #81a562;
$custom-dark: #000000;
JSON
{
  "hex": "#498020",
  "rgb": {
    "r": 73,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 94.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.13912,
    "h": 134.9
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#498020
secondary
#8649B3
accent
#45E39F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #498020

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

Preview Lab → · Contrast checker → · Palette generator →

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