#4F7416#4F7416

#4F7416 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.126 H 129.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F7416
RGBrgb(79, 116, 22)
HSLhsl(84, 68%, 27%)
HSVhsv(84, 81%, 45%)
CMYKcmyk(31.9%, 0%, 81%, 54.5%)
CIE-LABlab(44.53, -27.95, 43.99)
CIE-LCHlch(44.53, 52.12, 122.43°)
OKLaboklab(51.24% -0.0799 0.0972)
OKLCHoklch(51.24% 0.126 129.4)
XYZxyz(9.6146, 14.2107, 2.9953)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7416 #3B1674
analogous
#746A16 #4F7416 #207416
triadic
#4F7416 #164F74 #74164F
tetradic
#4F7416 #16746A #3B1674 #741620
square
#4F7416 #16746A #3B1674 #741620
split-complementary
#4F7416 #162074 #6A1674
monochromatic
#121A05 #2C410C #4F7416 #72A720 #94D72D

Accessibility & contrast

On white

5.47
#4F7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7416
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7416#FFFFFF#000000##FFFFFF
##4F74161.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#526F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7416;
/* rgb */ color: rgb(79, 116, 22);
/* oklch */ color: oklch(51.2% 0.126 129.4);
Tailwind
colors: {
  custom: {
    50: '#849c5c',
    500: '#4f7416',
    950: '#000000',
  },
}
SCSS
$custom: #4f7416;
$custom-light: #849c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7416",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 83.617,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.12585,
    "h": 129.4
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#4F7416
secondary
#673CAA
accent
#3DEB81
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7416

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

Preview Lab → · Contrast checker → · Palette generator →

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