#4F8E1D#4F8E1D

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

Color values

HEX#4F8E1D
RGBrgb(79, 142, 29)
HSLhsl(93, 66%, 34%)
HSVhsv(93, 80%, 56%)
CMYKcmyk(44.4%, 0%, 79.6%, 44.3%)
CIE-LABlab(53.05, -39.25, 49.69)
CIE-LCHlch(53.05, 63.32, 128.30°)
OKLaboklab(58.22% -0.1099 0.1103)
OKLCHoklch(58.22% 0.156 134.9)
XYZxyz(13.1189, 21.0962, 4.5429)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E1D #5C1D8E
analogous
#878E1D #4F8E1D #1D8E23
triadic
#4F8E1D #1D4F8E #8E1D4F
tetradic
#4F8E1D #1D878E #5C1D8E #8E231D
square
#4F8E1D #1D878E #5C1D8E #8E231D
split-complementary
#4F8E1D #231D8E #8E1D87
monochromatic
#162808 #335B13 #4F8E1D #6BC127 #8ADA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8E1D#FFFFFF#000000##000000
##4F8E1D1.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)
#948200
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e1d;
/* rgb */ color: rgb(79, 142, 29);
/* oklch */ color: oklch(58.2% 0.156 134.9);
Tailwind
colors: {
  custom: {
    50: '#86af63',
    500: '#4f8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e1d;
$custom-light: #86af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e1d",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 93.451,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.15573,
    "h": 134.9
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#4F8E1D
secondary
#8A4ABD
accent
#3FE99E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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