#4F8B1E#4F8B1E

#4F8B1E is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.151 H 134.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F8B1E
RGBrgb(79, 139, 30)
HSLhsl(93, 64%, 33%)
HSVhsv(93, 78%, 55%)
CMYKcmyk(43.2%, 0%, 78.4%, 45.5%)
CIE-LABlab(52.09, -37.91, 48.43)
CIE-LCHlch(52.09, 61.51, 128.05°)
OKLaboklab(57.43% -0.1062 0.1079)
OKLCHoklch(57.43% 0.151 134.6)
XYZxyz(12.6912, 20.2205, 4.4623)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B1E #5A1E8B
analogous
#858B1E #4F8B1E #1E8B24
triadic
#4F8B1E #1E4F8B #8B1E4F
tetradic
#4F8B1E #1E858B #5A1E8B #8B241E
square
#4F8B1E #1E858B #5A1E8B #8B241E
split-complementary
#4F8B1E #241E8B #8B1E85
monochromatic
#162608 #325913 #4F8B1E #6CBD29 #8BD84B

Accessibility & contrast

On white

4.16
#4F8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B1E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B1E#FFFFFF#000000##000000
##4F8B1E1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b1e;
/* rgb */ color: rgb(79, 139, 30);
/* oklch */ color: oklch(57.4% 0.151 134.6);
Tailwind
colors: {
  custom: {
    50: '#86ad63',
    500: '#4f8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b1e;
$custom-light: #86ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b1e",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 93.028,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.15139,
    "h": 134.6
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#4F8B1E
secondary
#884ABB
accent
#40E79C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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