#4F8E2E#4F8E2E

#4F8E2E is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.145 H 136.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4F8E2E
RGBrgb(79, 142, 46)
HSLhsl(99, 51%, 37%)
HSVhsv(99, 68%, 56%)
CMYKcmyk(44.4%, 0%, 67.6%, 44.3%)
CIE-LABlab(53.17, -37.99, 43.28)
CIE-LCHlch(53.17, 57.59, 131.28°)
OKLaboklab(58.36% -0.1053 0.0994)
OKLCHoklch(58.36% 0.145 136.7)
XYZxyz(13.3902, 21.2047, 5.9716)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E2E #6D2E8E
analogous
#7F8E2E #4F8E2E #2E8E3D
triadic
#4F8E2E #2E4F8E #8E2E4F
tetradic
#4F8E2E #2E7F8E #6D2E8E #8E3D2E
square
#4F8E2E #2E7F8E #6D2E8E #8E3D2E
split-complementary
#4F8E2E #3D2E8E #8E2E7F
monochromatic
#1C3210 #35601F #4F8E2E #69BC3D #8BCE68

Accessibility & contrast

On white

4.01
#4F8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4F8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E2E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E2E#FFFFFF#000000##000000
##4F8E2E1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938221
Deuteranopia (green-blind)
#8A7D36
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e2e;
/* rgb */ color: rgb(79, 142, 46);
/* oklch */ color: oklch(58.4% 0.145 136.7);
Tailwind
colors: {
  custom: {
    50: '#86af6c',
    500: '#4f8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e2e;
$custom-light: #86af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e2e",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 99.375,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.14476,
    "h": 136.7
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

primary
#4F8E2E
secondary
#9963B5
accent
#4DDBAA
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #4F8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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