#4F9840#4F9840

#4F9840 is a mid, vivid green. Relative luminance 0.245; OKLCH L 61.2% C 0.144 H 140.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4F9840
RGBrgb(79, 152, 64)
HSLhsl(110, 41%, 42%)
HSVhsv(110, 58%, 60%)
CMYKcmyk(48%, 0%, 57.9%, 40.4%)
CIE-LABlab(56.57, -40.36, 38.77)
CIE-LCHlch(56.57, 55.97, 136.16°)
OKLaboklab(61.2% -0.1105 0.0917)
OKLCHoklch(61.2% 0.144 140.3)
XYZxyz(15.3775, 24.4878, 8.7658)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9840 #894098
analogous
#7B9840 #4F9840 #40985D
triadic
#4F9840 #404F98 #98404F
tetradic
#4F9840 #407B98 #894098 #985D40
square
#4F9840 #407B98 #894098 #985D40
split-complementary
#4F9840 #5D4098 #98407B
monochromatic
#22421C #396D2E #4F9840 #6BBA5B #92CC86

Accessibility & contrast

On white

3.56
#4F9840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#4F9840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9840
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9840#FFFFFF#000000##000000
##4F98401.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#928547
Tritanopia (blue-blind)
#489385
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4f9840;
/* rgb */ color: rgb(79, 152, 64);
/* oklch */ color: oklch(61.2% 0.144 140.3);
Tailwind
colors: {
  custom: {
    50: '#86b778',
    500: '#4f9840',
    950: '#000000',
  },
}
SCSS
$custom: #4f9840;
$custom-light: #86b778;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9840",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 109.773,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.14356,
    "h": 140.3
  },
  "luminance": 0.24489
}

Semantic roles & 50–950 ramp

primary
#4F9840
secondary
#AD7DB7
accent
#57D1BC
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0C1109
muted
#7D807B

Preview Lab

Preview with #4F9840

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

Preview Lab → · Contrast checker → · Palette generator →

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