#489221#489221

#489221 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.0% C 0.162 H 137.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#489221
RGBrgb(72, 146, 33)
HSLhsl(99, 63%, 35%)
HSVhsv(99, 77%, 57%)
CMYKcmyk(50.7%, 0%, 77.4%, 42.7%)
CIE-LABlab(54.07, -42.95, 49.21)
CIE-LCHlch(54.07, 65.32, 131.11°)
OKLaboklab(58.98% -0.1191 0.1101)
OKLCHoklch(58.98% 0.162 137.3)
XYZxyz(13.2255, 22.0444, 4.9966)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489221 #6B2192
analogous
#809221 #489221 #219233
triadic
#489221 #214892 #922148
tetradic
#489221 #218092 #6B2192 #923321
square
#489221 #218092 #6B2192 #923321
split-complementary
#489221 #332192 #922180
monochromatic
#172E0A #2F6016 #489221 #61C42C #82D955

Accessibility & contrast

On white

3.88
#489221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#489221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489221
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489221#FFFFFF#000000##000000
##4892211.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#438D7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #489221;
/* rgb */ color: rgb(72, 146, 33);
/* oklch */ color: oklch(59.0% 0.162 137.3);
Tailwind
colors: {
  custom: {
    50: '#83b265',
    500: '#489221',
    950: '#000000',
  },
}
SCSS
$custom: #489221;
$custom-light: #83b265;
$custom-dark: #000000;
JSON
{
  "hex": "#489221",
  "rgb": {
    "r": 72,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 99.292,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.16218,
    "h": 137.3
  },
  "luminance": 0.22045
}

Semantic roles & 50–950 ramp

primary
#489221
secondary
#9853BC
accent
#42E6AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #489221

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

Preview Lab → · Contrast checker → · Palette generator →

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