#4F8E1E#4F8E1E

#4F8E1E is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.155 H 135.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4F8E1E
RGBrgb(79, 142, 30)
HSLhsl(94, 65%, 34%)
HSVhsv(94, 79%, 56%)
CMYKcmyk(44.4%, 0%, 78.9%, 44.3%)
CIE-LABlab(53.06, -39.19, 49.37)
CIE-LCHlch(53.06, 63.03, 128.45°)
OKLaboklab(58.23% -0.1097 0.1098)
OKLCHoklch(58.23% 0.155 135)
XYZxyz(13.1315, 21.1012, 4.6091)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E1E #5D1E8E
analogous
#878E1E #4F8E1E #1E8E25
triadic
#4F8E1E #1E4F8E #8E1E4F
tetradic
#4F8E1E #1E878E #5D1E8E #8E251E
square
#4F8E1E #1E878E #5D1E8E #8E251E
split-complementary
#4F8E1E #251E8E #8E1E87
monochromatic
#172909 #335B13 #4F8E1E #6BC129 #8AD94D

Accessibility & contrast

On white

4.02
#4F8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4F8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E1E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E1E#FFFFFF#000000##000000
##4F8E1E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e1e;
/* rgb */ color: rgb(79, 142, 30);
/* oklch */ color: oklch(58.2% 0.155 135.0);
Tailwind
colors: {
  custom: {
    50: '#86af63',
    500: '#4f8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e1e;
$custom-light: #86af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e1e",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 93.75,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.1552,
    "h": 135
  },
  "luminance": 0.21102
}

Semantic roles & 50–950 ramp

primary
#4F8E1E
secondary
#8B4CBC
accent
#40E89E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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