#4F7D16#4F7D16

#4F7D16 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.138 H 131.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4F7D16
RGBrgb(79, 125, 22)
HSLhsl(87, 70%, 29%)
HSVhsv(87, 82%, 49%)
CMYKcmyk(36.8%, 0%, 82.4%, 51%)
CIE-LABlab(47.48, -32.17, 46.73)
CIE-LCHlch(47.48, 56.73, 124.54°)
OKLaboklab(53.64% -0.0913 0.103)
OKLCHoklch(53.64% 0.138 131.6)
XYZxyz(10.7028, 16.3870, 3.3580)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D16 #44167D
analogous
#7D7816 #4F7D16 #1C7D16
triadic
#4F7D16 #164F7D #7D164F
tetradic
#4F7D16 #167D78 #44167D #7D161C
square
#4F7D16 #167D78 #44167D #7D161C
split-complementary
#4F7D16 #161C7D #78167D
monochromatic
#101A05 #2E490D #4F7D16 #70B11F #90DB32

Accessibility & contrast

On white

4.91
#4F7D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4F7D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D16
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D16#FFFFFF#000000##FFFFFF
##4F7D161.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D6F22
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d16;
/* rgb */ color: rgb(79, 125, 22);
/* oklch */ color: oklch(53.6% 0.138 131.6);
Tailwind
colors: {
  custom: {
    50: '#85a35d',
    500: '#4f7d16',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d16;
$custom-light: #85a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d16",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 86.796,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.13762,
    "h": 131.6
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#4F7D16
secondary
#713DB2
accent
#3BED8A
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D16

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

Preview Lab → · Contrast checker → · Palette generator →

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