#4F8F1E#4F8F1E

#4F8F1E is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.156 H 135.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F8F1E
RGBrgb(79, 143, 30)
HSLhsl(94, 65%, 34%)
HSVhsv(94, 79%, 56%)
CMYKcmyk(44.8%, 0%, 79%, 43.9%)
CIE-LABlab(53.38, -39.61, 49.68)
CIE-LCHlch(53.38, 63.54, 128.57°)
OKLaboklab(58.49% -0.1108 0.1105)
OKLCHoklch(58.49% 0.156 135.1)
XYZxyz(13.2810, 21.4001, 4.6589)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8F1E #5E1E8F
analogous
#888F1E #4F8F1E #1E8F25
triadic
#4F8F1E #1E4F8F #8F1E4F
tetradic
#4F8F1E #1E888F #5E1E8F #8F251E
square
#4F8F1E #1E888F #5E1E8F #8F251E
split-complementary
#4F8F1E #251E8F #8F1E88
monochromatic
#172A09 #335C13 #4F8F1E #6BC229 #8ADA4E

Accessibility & contrast

On white

3.98
#4F8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4F8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8F1E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8F1E#FFFFFF#000000##000000
##4F8F1E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#4D897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8f1e;
/* rgb */ color: rgb(79, 143, 30);
/* oklch */ color: oklch(58.5% 0.156 135.1);
Tailwind
colors: {
  custom: {
    50: '#86b063',
    500: '#4f8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8f1e;
$custom-light: #86b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8f1e",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 93.982,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.15646,
    "h": 135.1
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

primary
#4F8F1E
secondary
#8C4CBC
accent
#40E89F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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