#488D2A#488D2A

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

Color values

HEX#488D2A
RGBrgb(72, 141, 42)
HSLhsl(102, 54%, 36%)
HSVhsv(102, 70%, 55%)
CMYKcmyk(48.9%, 0%, 70.2%, 44.7%)
CIE-LABlab(52.50, -40.22, 44.17)
CIE-LCHlch(52.50, 59.74, 132.32°)
OKLaboklab(57.71% -0.1111 0.1008)
OKLCHoklch(57.71% 0.15 137.8)
XYZxyz(12.6149, 20.5938, 5.5003)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D2A #6F2A8D
analogous
#798D2A #488D2A #2A8D3D
triadic
#488D2A #2A488D #8D2A48
tetradic
#488D2A #2A798D #6F2A8D #8D3D2A
square
#488D2A #2A798D #6F2A8D #8D3D2A
split-complementary
#488D2A #3D2A8D #8D2A79
monochromatic
#182F0E #305E1C #488D2A #60BC38 #83D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D2A#FFFFFF#000000##000000
##488D2A1.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)
#92811C
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#438879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d2a;
/* rgb */ color: rgb(72, 141, 42);
/* oklch */ color: oklch(57.7% 0.150 137.8);
Tailwind
colors: {
  custom: {
    50: '#81af69',
    500: '#488d2a',
    950: '#000000',
  },
}
SCSS
$custom: #488d2a;
$custom-light: #81af69;
$custom-dark: #000000;
JSON
{
  "hex": "#488d2a",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 101.818,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.15006,
    "h": 137.8
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#488D2A
secondary
#9B5DB6
accent
#4ADDB1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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