#4F8A1E#4F8A1E

#4F8A1E is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.150 H 134.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F8A1E
RGBrgb(79, 138, 30)
HSLhsl(93, 64%, 33%)
HSVhsv(93, 78%, 54%)
CMYKcmyk(42.8%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.76, -37.48, 48.12)
CIE-LCHlch(51.76, 61.00, 127.92°)
OKLaboklab(57.16% -0.1051 0.1072)
OKLCHoklch(57.16% 0.15 134.4)
XYZxyz(12.5470, 19.9323, 4.4142)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A1E #591E8A
analogous
#858A1E #4F8A1E #1E8A23
triadic
#4F8A1E #1E4F8A #8A1E4F
tetradic
#4F8A1E #1E858A #591E8A #8A231E
square
#4F8A1E #1E858A #591E8A #8A231E
split-complementary
#4F8A1E #231E8A #8A1E85
monochromatic
#152508 #325813 #4F8A1E #6CBC29 #8BD84B

Accessibility & contrast

On white

4.21
#4F8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A1E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A1E#FFFFFF#000000##000000
##4F8A1E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#4E8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a1e;
/* rgb */ color: rgb(79, 138, 30);
/* oklch */ color: oklch(57.2% 0.150 134.4);
Tailwind
colors: {
  custom: {
    50: '#86ac63',
    500: '#4f8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a1e;
$custom-light: #86ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a1e",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 92.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.15011,
    "h": 134.4
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#4F8A1E
secondary
#874ABA
accent
#41E79C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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