#4F7617#4F7617

#4F7617 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.128 H 130.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F7617
RGBrgb(79, 118, 23)
HSLhsl(85, 67%, 28%)
HSVhsv(85, 81%, 46%)
CMYKcmyk(33.1%, 0%, 80.5%, 53.7%)
CIE-LABlab(45.19, -28.85, 44.27)
CIE-LCHlch(45.19, 52.84, 123.09°)
OKLaboklab(51.78% -0.0823 0.098)
OKLCHoklch(51.78% 0.128 130)
XYZxyz(9.8575, 14.6807, 3.1247)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7617 #3E1776
analogous
#766E17 #4F7617 #1F7617
triadic
#4F7617 #174F76 #76174F
tetradic
#4F7617 #17766E #3E1776 #76171F
square
#4F7617 #17766E #3E1776 #76171F
split-complementary
#4F7617 #171F76 #6E1776
monochromatic
#111A05 #2D430D #4F7617 #71A921 #93D731

Accessibility & contrast

On white

5.34
#4F7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7617
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7617#FFFFFF#000000##FFFFFF
##4F76171.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#517164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f7617;
/* rgb */ color: rgb(79, 118, 23);
/* oklch */ color: oklch(51.8% 0.128 130.0);
Tailwind
colors: {
  custom: {
    50: '#849d5d',
    500: '#4f7617',
    950: '#000000',
  },
}
SCSS
$custom: #4f7617;
$custom-light: #849d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7617",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 84.632,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.12795,
    "h": 130
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#4F7617
secondary
#6B3EAB
accent
#3EEA84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7617

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

Preview Lab → · Contrast checker → · Palette generator →

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