#4F8A52#4F8A52

#4F8A52 is a mid, moderate green. Relative luminance 0.204; OKLCH L 57.8% C 0.105 H 145.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4F8A52
RGBrgb(79, 138, 82)
HSLhsl(123, 27%, 43%)
HSVhsv(123, 43%, 54%)
CMYKcmyk(42.8%, 0%, 40.6%, 45.9%)
CIE-LABlab(52.34, -31.55, 24.12)
CIE-LCHlch(52.34, 39.71, 142.60°)
OKLaboklab(57.82% -0.0859 0.0598)
OKLCHoklch(57.82% 0.105 145.2)
XYZxyz(13.8352, 20.4476, 11.1988)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A52 #8A4F87
analogous
#698A4F #4F8A52 #4F8A70
triadic
#4F8A52 #524F8A #8A524F
tetradic
#4F8A52 #4F698A #8A4F87 #8A704F
square
#4F8A52 #4F698A #8A4F87 #8A704F
split-complementary
#4F8A52 #704F8A #8A4F69
monochromatic
#223C24 #39633B #4F8A52 #6CAB6F #93C195

Accessibility & contrast

On white

4.13
#4F8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4F8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A52
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A52#FFFFFF#000000##000000
##4F8A521.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804E
Deuteranopia (green-blind)
#837B55
Tritanopia (blue-blind)
#47877C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f8a52;
/* rgb */ color: rgb(79, 138, 82);
/* oklch */ color: oklch(57.8% 0.105 145.2);
Tailwind
colors: {
  custom: {
    50: '#83ac83',
    500: '#4f8a52',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a52;
$custom-light: #83ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a52",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 123.051,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57822,
    "c": 0.10462,
    "h": 145.2
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#4F8A52
secondary
#AE87AC
accent
#64BFC4
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #4F8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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