#487538#487538

#487538 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.4% C 0.103 H 138.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#487538
RGBrgb(72, 117, 56)
HSLhsl(104, 35%, 34%)
HSVhsv(104, 52%, 46%)
CMYKcmyk(38.5%, 0%, 52.1%, 54.1%)
CIE-LABlab(44.78, -27.95, 28.67)
CIE-LCHlch(44.78, 40.04, 134.27°)
OKLaboklab(51.44% -0.0767 0.0689)
OKLCHoklch(51.44% 0.103 138.1)
XYZxyz(9.7473, 14.3853, 6.0037)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#487538 #653875
analogous
#677538 #487538 #387547
triadic
#487538 #384875 #753848
tetradic
#487538 #386775 #653875 #754738
square
#487538 #386775 #653875 #754738
split-complementary
#487538 #473875 #753867
monochromatic
#152210 #2F4C24 #487538 #619E4C #82BA6E

Accessibility & contrast

On white

5.42
#487538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#487538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #487538
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##487538#FFFFFF#000000##FFFFFF
##4875381.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C33
Deuteranopia (green-blind)
#72683C
Tritanopia (blue-blind)
#467167
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #487538;
/* rgb */ color: rgb(72, 117, 56);
/* oklch */ color: oklch(51.4% 0.103 138.1);
Tailwind
colors: {
  custom: {
    50: '#7e9d70',
    500: '#487538',
    950: '#000000',
  },
}
SCSS
$custom: #487538;
$custom-light: #7e9d70;
$custom-dark: #000000;
JSON
{
  "hex": "#487538",
  "rgb": {
    "r": 72,
    "g": 117,
    "b": 56
  },
  "hsl": {
    "h": 104.262,
    "s": 35.26,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.10314,
    "h": 138.1
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#487538
secondary
#9366A3
accent
#5CCBAE
background
#F7F9F6
surface
#EEF2EC
border
#C9CCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #487538

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

Preview Lab → · Contrast checker → · Palette generator →

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