#4F7116#4F7116

#4F7116 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.122 H 128.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4F7116
RGBrgb(79, 113, 22)
HSLhsl(82, 67%, 26%)
HSVhsv(82, 81%, 44%)
CMYKcmyk(30.1%, 0%, 80.5%, 55.7%)
CIE-LABlab(43.55, -26.50, 43.07)
CIE-LCHlch(43.55, 50.57, 121.60°)
OKLaboklab(50.44% -0.076 0.0953)
OKLCHoklch(50.44% 0.122 128.6)
XYZxyz(9.2744, 13.5302, 2.8819)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7116 #381671
analogous
#716616 #4F7116 #227116
triadic
#4F7116 #164F71 #71164F
tetradic
#4F7116 #167166 #381671 #711622
square
#4F7116 #167166 #381671 #711622
split-complementary
#4F7116 #162271 #661671
monochromatic
#121A05 #2B3E0C #4F7116 #73A420 #96D62C

Accessibility & contrast

On white

5.67
#4F7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7116
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7116#FFFFFF#000000##FFFFFF
##4F71161.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776801
Deuteranopia (green-blind)
#72661F
Tritanopia (blue-blind)
#526C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f7116;
/* rgb */ color: rgb(79, 113, 22);
/* oklch */ color: oklch(50.4% 0.122 128.6);
Tailwind
colors: {
  custom: {
    50: '#849a5b',
    500: '#4f7116',
    950: '#000000',
  },
}
SCSS
$custom: #4f7116;
$custom-light: #849a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7116",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 82.418,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.12187,
    "h": 128.6
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#4F7116
secondary
#643CA7
accent
#3EEA7E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7116

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

Preview Lab → · Contrast checker → · Palette generator →

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