#488140#488140

#488140 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.8% C 0.114 H 141.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#488140
RGBrgb(72, 129, 64)
HSLhsl(113, 34%, 38%)
HSVhsv(113, 50%, 51%)
CMYKcmyk(44.2%, 0%, 50.4%, 49.4%)
CIE-LABlab(48.82, -32.47, 29.36)
CIE-LCHlch(48.82, 43.78, 137.88°)
OKLaboklab(54.77% -0.0887 0.071)
OKLCHoklch(54.77% 0.114 141.3)
XYZxyz(11.4477, 17.4477, 7.6140)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488140 #794081
analogous
#698140 #488140 #408158
triadic
#488140 #404881 #814048
tetradic
#488140 #406981 #794081 #815840
square
#488140 #406981 #794081 #815840
split-complementary
#488140 #584081 #814069
monochromatic
#1A2F17 #31582C #488140 #5FAA54 #85BE7D

Accessibility & contrast

On white

4.68
#488140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#488140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #488140
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488140#FFFFFF#000000##FFFFFF
##4881401.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84773B
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#437D72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #488140;
/* rgb */ color: rgb(72, 129, 64);
/* oklch */ color: oklch(54.8% 0.114 141.3);
Tailwind
colors: {
  custom: {
    50: '#7fa676',
    500: '#488140',
    950: '#000000',
  },
}
SCSS
$custom: #488140;
$custom-light: #7fa676;
$custom-dark: #000000;
JSON
{
  "hex": "#488140",
  "rgb": {
    "r": 72,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 112.615,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.11357,
    "h": 141.3
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#488140
secondary
#A274A9
accent
#5ECABD
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #488140

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

Preview Lab → · Contrast checker → · Palette generator →

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