#498229#498229

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

Color values

HEX#498229
RGBrgb(73, 130, 41)
HSLhsl(98, 52%, 34%)
HSVhsv(98, 68%, 51%)
CMYKcmyk(43.8%, 0%, 68.5%, 49%)
CIE-LABlab(48.93, -35.27, 40.83)
CIE-LCHlch(48.93, 53.96, 130.82°)
OKLaboklab(54.79% -0.0979 0.0936)
OKLCHoklch(54.79% 0.135 136.3)
XYZxyz(11.1302, 17.5412, 4.8967)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#498229 #622982
analogous
#758229 #498229 #298235
triadic
#498229 #294982 #822949
tetradic
#498229 #297582 #622982 #823529
square
#498229 #297582 #622982 #823529
split-complementary
#498229 #352982 #822975
monochromatic
#15250C #2F531A #498229 #63B138 #83CB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##498229#FFFFFF#000000##FFFFFF
##4982291.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)
#87771D
Deuteranopia (green-blind)
#7F7231
Tritanopia (blue-blind)
#477D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #498229;
/* rgb */ color: rgb(73, 130, 41);
/* oklch */ color: oklch(54.8% 0.135 136.3);
Tailwind
colors: {
  custom: {
    50: '#81a767',
    500: '#498229',
    950: '#000000',
  },
}
SCSS
$custom: #498229;
$custom-light: #81a767;
$custom-dark: #000000;
JSON
{
  "hex": "#498229",
  "rgb": {
    "r": 73,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 98.427,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.13544,
    "h": 136.3
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#498229
secondary
#9056B0
accent
#4CDBA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #498229

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

Preview Lab → · Contrast checker → · Palette generator →

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