#4F8D1E#4F8D1E

#4F8D1E is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.154 H 134.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F8D1E
RGBrgb(79, 141, 30)
HSLhsl(94, 65%, 34%)
HSVhsv(94, 79%, 55%)
CMYKcmyk(44%, 0%, 78.7%, 44.7%)
CIE-LABlab(52.74, -38.77, 49.06)
CIE-LCHlch(52.74, 62.53, 128.32°)
OKLaboklab(57.96% -0.1085 0.1092)
OKLCHoklch(57.96% 0.154 134.8)
XYZxyz(12.9834, 20.8050, 4.5597)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D1E #5C1E8D
analogous
#868D1E #4F8D1E #1E8D25
triadic
#4F8D1E #1E4F8D #8D1E4F
tetradic
#4F8D1E #1E868D #5C1E8D #8D251E
square
#4F8D1E #1E868D #5C1E8D #8D251E
split-complementary
#4F8D1E #251E8D #8D1E86
monochromatic
#162809 #335B13 #4F8D1E #6BBF29 #8AD94C

Accessibility & contrast

On white

4.07
#4F8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4F8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D1E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D1E#FFFFFF#000000##000000
##4F8D1E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938102
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d1e;
/* rgb */ color: rgb(79, 141, 30);
/* oklch */ color: oklch(58.0% 0.154 134.8);
Tailwind
colors: {
  custom: {
    50: '#86af63',
    500: '#4f8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d1e;
$custom-light: #86af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d1e",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 93.514,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.15393,
    "h": 134.8
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#4F8D1E
secondary
#8A4BBC
accent
#40E89E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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