#4F7B1E#4F7B1E

#4F7B1E is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.2% C 0.130 H 131.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4F7B1E
RGBrgb(79, 123, 30)
HSLhsl(88, 61%, 30%)
HSVhsv(88, 76%, 48%)
CMYKcmyk(35.8%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.87, -30.77, 43.35)
CIE-LCHlch(46.87, 53.16, 125.36°)
OKLaboklab(53.16% -0.0869 0.0972)
OKLCHoklch(53.16% 0.13 131.8)
XYZxyz(10.5416, 15.9215, 3.7458)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7B1E #4A1E7B
analogous
#7B781E #4F7B1E #217B1E
triadic
#4F7B1E #1E4F7B #7B1E4F
tetradic
#4F7B1E #1E7B78 #4A1E7B #7B1E21
square
#4F7B1E #1E7B78 #4A1E7B #7B1E21
split-complementary
#4F7B1E #1E217B #781E7B
monochromatic
#101906 #2F4A12 #4F7B1E #6FAC2A #8ED142

Accessibility & contrast

On white

5.02
#4F7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4F7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7B1E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7B1E#FFFFFF#000000##FFFFFF
##4F7B1E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#507669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7b1e;
/* rgb */ color: rgb(79, 123, 30);
/* oklch */ color: oklch(53.2% 0.130 131.8);
Tailwind
colors: {
  custom: {
    50: '#84a161',
    500: '#4f7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4f7b1e;
$custom-light: #84a161;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7b1e",
  "rgb": {
    "r": 79,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 88.387,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.1304,
    "h": 131.8
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#4F7B1E
secondary
#7846AE
accent
#44E490
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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