#498227#498227

#498227 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.137 H 136.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#498227
RGBrgb(73, 130, 39)
HSLhsl(98, 54%, 33%)
HSVhsv(98, 70%, 51%)
CMYKcmyk(43.8%, 0%, 70%, 49%)
CIE-LABlab(48.92, -35.45, 41.68)
CIE-LCHlch(48.92, 54.72, 130.38°)
OKLaboklab(54.77% -0.0985 0.0952)
OKLCHoklch(54.77% 0.137 136)
XYZxyz(11.0962, 17.5276, 4.7175)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498227 #602782
analogous
#768227 #498227 #278232
triadic
#498227 #274982 #822749
tetradic
#498227 #277682 #602782 #823227
square
#498227 #277682 #602782 #823227
split-complementary
#498227 #322782 #822776
monochromatic
#14240B #2F5319 #498227 #63B135 #83CD57

Accessibility & contrast

On white

4.66
#498227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#498227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #498227
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498227#FFFFFF#000000##FFFFFF
##4982271.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#477D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #498227;
/* rgb */ color: rgb(73, 130, 39);
/* oklch */ color: oklch(54.8% 0.137 136.0);
Tailwind
colors: {
  custom: {
    50: '#81a766',
    500: '#498227',
    950: '#000000',
  },
}
SCSS
$custom: #498227;
$custom-light: #81a766;
$custom-dark: #000000;
JSON
{
  "hex": "#498227",
  "rgb": {
    "r": 73,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 97.582,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.13695,
    "h": 136
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#498227
secondary
#8E53B1
accent
#4BDDA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498227

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

Preview Lab → · Contrast checker → · Palette generator →

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