#487D38#487D38

#487D38 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.6% C 0.116 H 138.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#487D38
RGBrgb(72, 125, 56)
HSLhsl(106, 38%, 35%)
HSVhsv(106, 55%, 49%)
CMYKcmyk(42.4%, 0%, 55.2%, 51%)
CIE-LABlab(47.40, -31.72, 31.85)
CIE-LCHlch(47.40, 44.95, 134.89°)
OKLaboklab(53.58% -0.087 0.076)
OKLCHoklch(53.58% 0.116 138.9)
XYZxyz(10.7195, 16.3299, 6.3278)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487D38 #6D387D
analogous
#6A7D38 #487D38 #387D4A
triadic
#487D38 #38487D #7D3848
tetradic
#487D38 #386A7D #6D387D #7D4A38
square
#487D38 #386A7D #6D387D #7D4A38
split-complementary
#487D38 #4A387D #7D386A
monochromatic
#172812 #305325 #487D38 #60A74B #83BF70

Accessibility & contrast

On white

4.92
#487D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#487D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487D38
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487D38#FFFFFF#000000##FFFFFF
##487D381.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#44796D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #487d38;
/* rgb */ color: rgb(72, 125, 56);
/* oklch */ color: oklch(53.6% 0.116 138.9);
Tailwind
colors: {
  custom: {
    50: '#7fa370',
    500: '#487d38',
    950: '#000000',
  },
}
SCSS
$custom: #487d38;
$custom-light: #7fa370;
$custom-dark: #000000;
JSON
{
  "hex": "#487d38",
  "rgb": {
    "r": 72,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 106.087,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.11552,
    "h": 138.9
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#487D38
secondary
#9969A8
accent
#5ACEB3
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F08
muted
#7C7F7B

Preview Lab

Preview with #487D38

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

Preview Lab → · Contrast checker → · Palette generator →

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