#498223#498223

#498223 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.7% C 0.140 H 135.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#498223
RGBrgb(73, 130, 35)
HSLhsl(96, 58%, 32%)
HSVhsv(96, 73%, 51%)
CMYKcmyk(43.8%, 0%, 73.1%, 49%)
CIE-LABlab(48.89, -35.78, 43.31)
CIE-LCHlch(48.89, 56.18, 129.56°)
OKLaboklab(54.74% -0.0997 0.098)
OKLCHoklch(54.74% 0.14 135.5)
XYZxyz(11.0334, 17.5025, 4.3867)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498223 #5C2382
analogous
#798223 #498223 #23822C
triadic
#498223 #234982 #822349
tetradic
#498223 #237982 #5C2382 #822C23
square
#498223 #237982 #5C2382 #822C23
split-complementary
#498223 #2C2382 #822379
monochromatic
#132209 #2E5216 #498223 #64B230 #83D050

Accessibility & contrast

On white

4.67
#498223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#498223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #498223
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##498223#FFFFFF#000000##FFFFFF
##4982231.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#477D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #498223;
/* rgb */ color: rgb(73, 130, 35);
/* oklch */ color: oklch(54.7% 0.140 135.5);
Tailwind
colors: {
  custom: {
    50: '#81a764',
    500: '#498223',
    950: '#000000',
  },
}
SCSS
$custom: #498223;
$custom-light: #81a764;
$custom-dark: #000000;
JSON
{
  "hex": "#498223",
  "rgb": {
    "r": 73,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 96,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.13979,
    "h": 135.5
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#498223
secondary
#8B4DB3
accent
#47E1A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498223

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

Preview Lab → · Contrast checker → · Palette generator →

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