#4F7A5F#4F7A5F

#4F7A5F is a mid, moderate green. Relative luminance 0.164; OKLCH L 54.0% C 0.064 H 156.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4F7A5F
RGBrgb(79, 122, 95)
HSLhsl(142, 21%, 39%)
HSVhsv(142, 35%, 48%)
CMYKcmyk(35.2%, 0%, 22.1%, 52.2%)
CIE-LABlab(47.50, -21.17, 10.14)
CIE-LCHlch(47.50, 23.47, 154.40°)
OKLaboklab(53.99% -0.0585 0.026)
OKLCHoklch(53.99% 0.064 156)
XYZxyz(12.2488, 16.4069, 13.3457)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7A5F #7A4F6A
analogous
#557A4F #4F7A5F #4F7A75
triadic
#4F7A5F #5F4F7A #7A5F4F
tetradic
#4F7A5F #4F557A #7A4F6A #7A754F
square
#4F7A5F #4F557A #7A4F6A #7A754F
split-complementary
#4F7A5F #754F7A #7A4F55
monochromatic
#1F3025 #375542 #4F7A5F #699E7C #8EB69D

Accessibility & contrast

On white

4.90
#4F7A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4F7A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7A5F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7A5F#FFFFFF#000000##FFFFFF
##4F7A5F1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745E
Deuteranopia (green-blind)
#736F61
Tritanopia (blue-blind)
#477972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7a5f;
/* rgb */ color: rgb(79, 122, 95);
/* oklch */ color: oklch(54.0% 0.064 156.0);
Tailwind
colors: {
  custom: {
    50: '#82a08c',
    500: '#4f7a5f',
    950: '#000000',
  },
}
SCSS
$custom: #4f7a5f;
$custom-light: #82a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7a5f",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 142.326,
    "s": 21.393,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.064,
    "h": 156
  },
  "luminance": 0.16408
}

Semantic roles & 50–950 ramp

primary
#4F7A5F
secondary
#A38297
accent
#6A9FBE
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0F0C
muted
#7C7E7D

Preview Lab

Preview with #4F7A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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