#488D2C#488D2C

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

Color values

HEX#488D2C
RGBrgb(72, 141, 44)
HSLhsl(103, 52%, 36%)
HSVhsv(103, 69%, 55%)
CMYKcmyk(48.9%, 0%, 68.8%, 44.7%)
CIE-LABlab(52.52, -40.04, 43.35)
CIE-LCHlch(52.52, 59.01, 132.73°)
OKLaboklab(57.73% -0.1105 0.0993)
OKLCHoklch(57.73% 0.149 138.1)
XYZxyz(12.6516, 20.6085, 5.6936)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D2C #712C8D
analogous
#798D2C #488D2C #2C8D41
triadic
#488D2C #2C488D #8D2C48
tetradic
#488D2C #2C798D #712C8D #8D412C
square
#488D2C #2C798D #712C8D #8D412C
split-complementary
#488D2C #412C8D #8D2C79
monochromatic
#18300F #305E1D #488D2C #60BC3B #83CF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##488D2C#FFFFFF#000000##000000
##488D2C1.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)
#91811F
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#438879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d2c;
/* rgb */ color: rgb(72, 141, 44);
/* oklch */ color: oklch(57.7% 0.149 138.1);
Tailwind
colors: {
  custom: {
    50: '#81af6a',
    500: '#488d2c',
    950: '#000000',
  },
}
SCSS
$custom: #488d2c;
$custom-light: #81af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#488d2c",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 102.68,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.1486,
    "h": 138.1
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#488D2C
secondary
#9C60B5
accent
#4CDCB2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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