#488D2F#488D2F

#488D2F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.8% C 0.146 H 138.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#488D2F
RGBrgb(72, 141, 47)
HSLhsl(104, 50%, 37%)
HSVhsv(104, 67%, 55%)
CMYKcmyk(48.9%, 0%, 66.7%, 44.7%)
CIE-LABlab(52.54, -39.76, 42.07)
CIE-LCHlch(52.54, 57.89, 133.39°)
OKLaboklab(57.76% -0.1095 0.097)
OKLCHoklch(57.76% 0.146 138.5)
XYZxyz(12.7100, 20.6318, 6.0014)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488D2F #742F8D
analogous
#778D2F #488D2F #2F8D45
triadic
#488D2F #2F488D #8D2F48
tetradic
#488D2F #2F778D #742F8D #8D452F
square
#488D2F #2F778D #742F8D #8D452F
split-complementary
#488D2F #452F8D #8D2F77
monochromatic
#193110 #315F20 #488D2F #5FBB3E #84CD69

Accessibility & contrast

On white

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

On black

5.13
#488D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488D2F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488D2F#FFFFFF#000000##000000
##488D2F1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#43887A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #488d2f;
/* rgb */ color: rgb(72, 141, 47);
/* oklch */ color: oklch(57.8% 0.146 138.5);
Tailwind
colors: {
  custom: {
    50: '#81af6c',
    500: '#488d2f',
    950: '#000000',
  },
}
SCSS
$custom: #488d2f;
$custom-light: #81af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#488d2f",
  "rgb": {
    "r": 72,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 104.043,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57757,
    "c": 0.14633,
    "h": 138.5
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#488D2F
secondary
#9F64B4
accent
#4EDAB4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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