#4F7C16#4F7C16

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

Color values

HEX#4F7C16
RGBrgb(79, 124, 22)
HSLhsl(86, 70%, 29%)
HSVhsv(86, 82%, 49%)
CMYKcmyk(36.3%, 0%, 82.3%, 51.4%)
CIE-LABlab(47.15, -31.71, 46.42)
CIE-LCHlch(47.15, 56.22, 124.33°)
OKLaboklab(53.38% -0.09 0.1024)
OKLCHoklch(53.38% 0.136 131.3)
XYZxyz(10.5768, 16.1351, 3.3160)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C16 #43167C
analogous
#7C7616 #4F7C16 #1C7C16
triadic
#4F7C16 #164F7C #7C164F
tetradic
#4F7C16 #167C76 #43167C #7C161C
square
#4F7C16 #167C76 #43167C #7C161C
split-complementary
#4F7C16 #161C7C #76167C
monochromatic
#111A05 #2E480D #4F7C16 #70B01F #90DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7C16#FFFFFF#000000##FFFFFF
##4F7C161.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: #4f7c16;
/* rgb */ color: rgb(79, 124, 22);
/* oklch */ color: oklch(53.4% 0.136 131.3);
Tailwind
colors: {
  custom: {
    50: '#85a25d',
    500: '#4f7c16',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c16;
$custom-light: #85a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c16",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 86.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.13633,
    "h": 131.3
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#4F7C16
secondary
#703DB1
accent
#3BED89
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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