#489228#489228

#489228 is a mid, vivid green. Relative luminance 0.221; OKLCH L 59.0% C 0.158 H 138.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#489228
RGBrgb(72, 146, 40)
HSLhsl(102, 57%, 36%)
HSVhsv(102, 73%, 57%)
CMYKcmyk(50.7%, 0%, 72.6%, 42.7%)
CIE-LABlab(54.12, -42.44, 46.66)
CIE-LCHlch(54.12, 63.07, 132.29°)
OKLaboklab(59.03% -0.1173 0.1058)
OKLCHoklch(59.03% 0.158 138)
XYZxyz(13.3339, 22.0877, 5.5678)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489228 #722892
analogous
#7D9228 #489228 #28923D
triadic
#489228 #284892 #922848
tetradic
#489228 #287D92 #722892 #923D28
square
#489228 #287D92 #722892 #923D28
split-complementary
#489228 #3D2892 #92287D
monochromatic
#19320E #30621B #489228 #60C235 #83D461

Accessibility & contrast

On white

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

On black

5.42
#489228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489228
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489228#FFFFFF#000000##000000
##4892281.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #489228;
/* rgb */ color: rgb(72, 146, 40);
/* oklch */ color: oklch(59.0% 0.158 138.0);
Tailwind
colors: {
  custom: {
    50: '#82b269',
    500: '#489228',
    950: '#000000',
  },
}
SCSS
$custom: #489228;
$custom-light: #82b269;
$custom-dark: #000000;
JSON
{
  "hex": "#489228",
  "rgb": {
    "r": 72,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 101.887,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59034,
    "c": 0.15792,
    "h": 138
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#489228
secondary
#9D5DB9
accent
#48E0B2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #489228

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

Preview Lab → · Contrast checker → · Palette generator →

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