#4F8E1C#4F8E1C

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

Color values

HEX#4F8E1C
RGBrgb(79, 142, 28)
HSLhsl(93, 67%, 33%)
HSVhsv(93, 80%, 56%)
CMYKcmyk(44.4%, 0%, 80.3%, 44.3%)
CIE-LABlab(53.05, -39.31, 50.01)
CIE-LCHlch(53.05, 63.61, 128.17°)
OKLaboklab(58.22% -0.1101 0.1109)
OKLCHoklch(58.22% 0.156 134.8)
XYZxyz(13.1068, 21.0914, 4.4788)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E1C #5B1C8E
analogous
#888E1C #4F8E1C #1C8E22
triadic
#4F8E1C #1C4F8E #8E1C4F
tetradic
#4F8E1C #1C888E #5B1C8E #8E221C
square
#4F8E1C #1C888E #5B1C8E #8E221C
split-complementary
#4F8E1C #221C8E #8E1C88
monochromatic
#162808 #335B12 #4F8E1C #6BC126 #8BDB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8E1C#FFFFFF#000000##000000
##4F8E1C1.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: #4f8e1c;
/* rgb */ color: rgb(79, 142, 28);
/* oklch */ color: oklch(58.2% 0.156 134.8);
Tailwind
colors: {
  custom: {
    50: '#86af62',
    500: '#4f8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e1c;
$custom-light: #86af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e1c",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 93.158,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.15625,
    "h": 134.8
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#4F8E1C
secondary
#8949BD
accent
#3EEA9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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