#4F8E1A#4F8E1A

#4F8E1A 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#4F8E1A
RGBrgb(79, 142, 26)
HSLhsl(93, 69%, 33%)
HSVhsv(93, 82%, 56%)
CMYKcmyk(44.4%, 0%, 81.7%, 44.3%)
CIE-LABlab(53.04, -39.42, 50.63)
CIE-LCHlch(53.04, 64.16, 127.90°)
OKLaboklab(58.2% -0.1105 0.1118)
OKLCHoklch(58.2% 0.157 134.7)
XYZxyz(13.0836, 21.0821, 4.3569)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E1A #591A8E
analogous
#898E1A #4F8E1A #1A8E1F
triadic
#4F8E1A #1A4F8E #8E1A4F
tetradic
#4F8E1A #1A898E #591A8E #8E1F1A
square
#4F8E1A #1A898E #591A8E #8E1F1A
split-complementary
#4F8E1A #1F1A8E #8E1A89
monochromatic
#152707 #325A11 #4F8E1A #6CC223 #8BDD45

Accessibility & contrast

On white

4.03
#4F8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8E1A#FFFFFF#000000##000000
##4F8E1A1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D27
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e1a;
/* rgb */ color: rgb(79, 142, 26);
/* oklch */ color: oklch(58.2% 0.157 134.7);
Tailwind
colors: {
  custom: {
    50: '#87af62',
    500: '#4f8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e1a;
$custom-light: #87af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e1a",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 92.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.15723,
    "h": 134.7
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

primary
#4F8E1A
secondary
#8745BE
accent
#3CEC9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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