#487F38#487F38

#487F38 is a mid, moderate green. Relative luminance 0.168; OKLCH L 54.1% C 0.119 H 139.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#487F38
RGBrgb(72, 127, 56)
HSLhsl(106, 39%, 36%)
HSVhsv(106, 56%, 50%)
CMYKcmyk(43.3%, 0%, 55.9%, 50.2%)
CIE-LABlab(48.06, -32.64, 32.63)
CIE-LCHlch(48.06, 46.15, 135.01°)
OKLaboklab(54.11% -0.0895 0.0777)
OKLCHoklch(54.11% 0.119 139.1)
XYZxyz(10.9753, 16.8413, 6.4130)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487F38 #6F387F
analogous
#6B7F38 #487F38 #387F4B
triadic
#487F38 #38487F #7F3848
tetradic
#487F38 #386B7F #6F387F #7F4B38
square
#487F38 #386B7F #6F387F #7F4B38
split-complementary
#487F38 #4B387F #7F386B
monochromatic
#182A13 #305525 #487F38 #60A94B #83C071

Accessibility & contrast

On white

4.81
#487F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#487F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487F38
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487F38#FFFFFF#000000##FFFFFF
##487F381.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837531
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#447B6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #487f38;
/* rgb */ color: rgb(72, 127, 56);
/* oklch */ color: oklch(54.1% 0.119 139.1);
Tailwind
colors: {
  custom: {
    50: '#7fa471',
    500: '#487f38',
    950: '#000000',
  },
}
SCSS
$custom: #487f38;
$custom-light: #7fa471;
$custom-dark: #000000;
JSON
{
  "hex": "#487f38",
  "rgb": {
    "r": 72,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 106.479,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.11854,
    "h": 139.1
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#487F38
secondary
#9B69A9
accent
#59CFB4
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #487F38

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

Preview Lab → · Contrast checker → · Palette generator →

#487F38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva