#4F7C15#4F7C15

#4F7C15 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.137 H 131.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F7C15
RGBrgb(79, 124, 21)
HSLhsl(86, 71%, 28%)
HSVhsv(86, 83%, 49%)
CMYKcmyk(36.3%, 0%, 83.1%, 51.4%)
CIE-LABlab(47.15, -31.76, 46.73)
CIE-LCHlch(47.15, 56.50, 124.20°)
OKLaboklab(53.37% -0.0902 0.1028)
OKLCHoklch(53.37% 0.137 131.3)
XYZxyz(10.5674, 16.1313, 3.2662)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C15 #42157C
analogous
#7C7515 #4F7C15 #1B7C15
triadic
#4F7C15 #154F7C #7C154F
tetradic
#4F7C15 #157C75 #42157C #7C151B
square
#4F7C15 #157C75 #42157C #7C151B
split-complementary
#4F7C15 #151B7C #75157C
monochromatic
#111A04 #2E480C #4F7C15 #70B01E #91DC30

Accessibility & contrast

On white

4.97
#4F7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4F7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C15
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C15#FFFFFF#000000##FFFFFF
##4F7C151.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#517669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c15;
/* rgb */ color: rgb(79, 124, 21);
/* oklch */ color: oklch(53.4% 0.137 131.3);
Tailwind
colors: {
  custom: {
    50: '#85a25d',
    500: '#4f7c15',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c15;
$custom-light: #85a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c15",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 86.214,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.13682,
    "h": 131.3
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#4F7C15
secondary
#6F3CB1
accent
#3AEE89
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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