#487948#487948

#487948 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.8% C 0.092 H 144.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#487948
RGBrgb(72, 121, 72)
HSLhsl(120, 25%, 38%)
HSVhsv(120, 40%, 47%)
CMYKcmyk(40.5%, 0%, 40.5%, 52.5%)
CIE-LABlab(46.34, -27.43, 21.79)
CIE-LCHlch(46.34, 35.03, 141.53°)
OKLaboklab(52.79% -0.0747 0.054)
OKLCHoklch(52.79% 0.092 144.1)
XYZxyz(10.6791, 15.5197, 8.5625)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487948 #794879
analogous
#607948 #487948 #487960
triadic
#487948 #484879 #794848
tetradic
#487948 #486079 #794879 #796048
square
#487948 #486079 #794879 #796048
split-complementary
#487948 #604879 #794860
monochromatic
#1A2C1A #315331 #487948 #5F9F5F #85B685

Accessibility & contrast

On white

5.12
#487948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#487948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487948
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487948#FFFFFF#000000##FFFFFF
##4879481.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7145
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#42766D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #487948;
/* rgb */ color: rgb(72, 121, 72);
/* oklch */ color: oklch(52.8% 0.092 144.1);
Tailwind
colors: {
  custom: {
    50: '#7da07b',
    500: '#487948',
    950: '#000000',
  },
}
SCSS
$custom: #487948;
$custom-light: #7da07b;
$custom-dark: #000000;
JSON
{
  "hex": "#487948",
  "rgb": {
    "r": 72,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 120,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.09221,
    "h": 144.1
  },
  "luminance": 0.1552
}

Semantic roles & 50–950 ramp

primary
#487948
secondary
#A27AA2
accent
#66C2C2
background
#F7F9F7
surface
#EEF2EE
border
#C9CCC9
text
#0A0E09
muted
#7C7E7B

Preview Lab

Preview with #487948

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

Preview Lab → · Contrast checker → · Palette generator →

#487948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva