#488A2F#488A2F

#488A2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 57.0% C 0.142 H 138.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#488A2F
RGBrgb(72, 138, 47)
HSLhsl(104, 49%, 36%)
HSVhsv(104, 66%, 54%)
CMYKcmyk(47.8%, 0%, 65.9%, 45.9%)
CIE-LABlab(51.56, -38.50, 41.00)
CIE-LCHlch(51.56, 56.24, 133.20°)
OKLaboklab(56.95% -0.1061 0.0947)
OKLCHoklch(56.95% 0.142 138.2)
XYZxyz(12.2736, 19.7591, 5.8559)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#488A2F #712F8A
analogous
#768A2F #488A2F #2F8A44
triadic
#488A2F #2F488A #8A2F48
tetradic
#488A2F #2F768A #712F8A #8A442F
square
#488A2F #2F768A #712F8A #8A442F
split-complementary
#488A2F #442F8A #8A2F76
monochromatic
#182F10 #305C1F #488A2F #60B83F #83CC68

Accessibility & contrast

On white

4.24
#488A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#488A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #488A2F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##488A2F#FFFFFF#000000##000000
##488A2F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#438577
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #488a2f;
/* rgb */ color: rgb(72, 138, 47);
/* oklch */ color: oklch(57.0% 0.142 138.2);
Tailwind
colors: {
  custom: {
    50: '#81ad6c',
    500: '#488a2f',
    950: '#000000',
  },
}
SCSS
$custom: #488a2f;
$custom-light: #81ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#488a2f",
  "rgb": {
    "r": 72,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 103.516,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.14226,
    "h": 138.2
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#488A2F
secondary
#9C62B3
accent
#4FD9B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #488A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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