#4F8E1B#4F8E1B

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

Color values

HEX#4F8E1B
RGBrgb(79, 142, 27)
HSLhsl(93, 68%, 33%)
HSVhsv(93, 81%, 56%)
CMYKcmyk(44.4%, 0%, 81%, 44.3%)
CIE-LABlab(53.04, -39.36, 50.32)
CIE-LCHlch(53.04, 63.89, 128.03°)
OKLaboklab(58.21% -0.1103 0.1113)
OKLCHoklch(58.21% 0.157 134.7)
XYZxyz(13.0950, 21.0866, 4.4168)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E1B #5A1B8E
analogous
#888E1B #4F8E1B #1B8E21
triadic
#4F8E1B #1B4F8E #8E1B4F
tetradic
#4F8E1B #1B888E #5A1B8E #8E211B
square
#4F8E1B #1B888E #5A1B8E #8E211B
split-complementary
#4F8E1B #211B8E #8E1B88
monochromatic
#162707 #325B11 #4F8E1B #6CC125 #8BDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8E1B#FFFFFF#000000##000000
##4F8E1B1.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)
#8B7D28
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e1b;
/* rgb */ color: rgb(79, 142, 27);
/* oklch */ color: oklch(58.2% 0.157 134.7);
Tailwind
colors: {
  custom: {
    50: '#86af62',
    500: '#4f8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e1b;
$custom-light: #86af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e1b",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 92.87,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.15675,
    "h": 134.7
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#4F8E1B
secondary
#8847BE
accent
#3DEB9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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