#4A5F40#4A5F40

#4A5F40 is a mid, muted green. Relative luminance 0.100; OKLCH L 45.9% C 0.055 H 135.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4A5F40
RGBrgb(74, 95, 64)
HSLhsl(101, 19%, 31%)
HSVhsv(101, 33%, 37%)
CMYKcmyk(22.1%, 0%, 32.6%, 62.7%)
CIE-LABlab(37.86, -14.49, 15.23)
CIE-LCHlch(37.86, 21.02, 133.58°)
OKLaboklab(45.92% -0.0394 0.0383)
OKLCHoklch(45.92% 0.055 135.8)
XYZxyz(7.8415, 10.0103, 6.3685)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5F40 #55405F
analogous
#595F40 #4A5F40 #405F45
triadic
#4A5F40 #404A5F #5F404A
tetradic
#4A5F40 #40595F #55405F #5F4540
square
#4A5F40 #40595F #55405F #5F4540
split-complementary
#4A5F40 #45405F #5F4059
monochromatic
#11160F #2E3A27 #4A5F40 #668459 #85A376

Accessibility & contrast

On white

7.00
#4A5F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4A5F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5F40
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5F40#FFFFFF#000000##FFFFFF
##4A5F401.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#5E5842
Tritanopia (blue-blind)
#4A5D57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a5f40;
/* rgb */ color: rgb(74, 95, 64);
/* oklch */ color: oklch(45.9% 0.055 135.8);
Tailwind
colors: {
  custom: {
    50: '#7d8c75',
    500: '#4a5f40',
    950: '#000000',
  },
}
SCSS
$custom: #4a5f40;
$custom-light: #7d8c75;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5f40",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 100.645,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.05496,
    "h": 135.8
  },
  "luminance": 0.1001
}

Semantic roles & 50–950 ramp

primary
#4A5F40
secondary
#836C8F
accent
#6CBCA2
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#090C08
muted
#7B7D7B

Preview Lab

Preview with #4A5F40

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

Preview Lab → · Contrast checker → · Palette generator →

#4A5F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva