#488D2D#488D2D

#488D2D is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.148 H 138.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#488D2D
RGBrgb(72, 141, 45)
HSLhsl(103, 52%, 36%)
HSVhsv(103, 68%, 55%)
CMYKcmyk(48.9%, 0%, 68.1%, 44.7%)
CIE-LABlab(52.53, -39.95, 42.92)
CIE-LCHlch(52.53, 58.64, 132.95°)
OKLaboklab(57.74% -0.1102 0.0986)
OKLCHoklch(57.74% 0.148 138.2)
XYZxyz(12.6706, 20.6161, 5.7937)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D2D #722D8D
analogous
#788D2D #488D2D #2D8D42
triadic
#488D2D #2D488D #8D2D48
tetradic
#488D2D #2D788D #722D8D #8D422D
square
#488D2D #2D788D #722D8D #8D422D
split-complementary
#488D2D #422D8D #8D2D78
monochromatic
#19300F #305F1E #488D2D #60BB3C #83CE66

Accessibility & contrast

On white

4.10
#488D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#488D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D2D#FFFFFF#000000##000000
##488D2D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#438879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d2d;
/* rgb */ color: rgb(72, 141, 45);
/* oklch */ color: oklch(57.7% 0.148 138.2);
Tailwind
colors: {
  custom: {
    50: '#81af6b',
    500: '#488d2d',
    950: '#000000',
  },
}
SCSS
$custom: #488d2d;
$custom-light: #81af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#488d2d",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 103.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.14786,
    "h": 138.2
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#488D2D
secondary
#9D61B5
accent
#4DDBB3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488D2D

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

Preview Lab → · Contrast checker → · Palette generator →

#488D2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva