#498D21#498D21

#498D21 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.155 H 136.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#498D21
RGBrgb(73, 141, 33)
HSLhsl(98, 62%, 34%)
HSVhsv(98, 77%, 55%)
CMYKcmyk(48.2%, 0%, 76.6%, 44.7%)
CIE-LABlab(52.48, -40.59, 47.67)
CIE-LCHlch(52.48, 62.61, 130.41°)
OKLaboklab(57.68% -0.1128 0.1068)
OKLCHoklch(57.68% 0.155 136.6)
XYZxyz(12.5467, 20.5752, 4.7488)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498D21 #65218D
analogous
#7F8D21 #498D21 #218D2F
triadic
#498D21 #21498D #8D2149
tetradic
#498D21 #217F8D #65218D #8D2F21
square
#498D21 #217F8D #65218D #8D2F21
split-complementary
#498D21 #2F218D #8D217F
monochromatic
#162A0A #2F5B15 #498D21 #63BF2D #83D652

Accessibility & contrast

On white

4.11
#498D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#498D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #498D21
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498D21#FFFFFF#000000##000000
##498D211.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#468878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #498d21;
/* rgb */ color: rgb(73, 141, 33);
/* oklch */ color: oklch(57.7% 0.155 136.6);
Tailwind
colors: {
  custom: {
    50: '#82af64',
    500: '#498d21',
    950: '#000000',
  },
}
SCSS
$custom: #498d21;
$custom-light: #82af64;
$custom-dark: #000000;
JSON
{
  "hex": "#498d21",
  "rgb": {
    "r": 73,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 97.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57683,
    "c": 0.15538,
    "h": 136.6
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#498D21
secondary
#9350BA
accent
#43E5A9
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #498D21

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

Preview Lab → · Contrast checker → · Palette generator →

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