#4F7A16#4F7A16

#4F7A16 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.8% C 0.134 H 130.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4F7A16
RGBrgb(79, 122, 22)
HSLhsl(86, 69%, 28%)
HSVhsv(86, 82%, 48%)
CMYKcmyk(35.2%, 0%, 82%, 52.2%)
CIE-LABlab(46.50, -30.78, 45.82)
CIE-LCHlch(46.50, 55.20, 123.89°)
OKLaboklab(52.84% -0.0875 0.1011)
OKLCHoklch(52.84% 0.134 130.9)
XYZxyz(10.3287, 15.6389, 3.2333)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7A16 #41167A
analogous
#7A7316 #4F7A16 #1D7A16
triadic
#4F7A16 #164F7A #7A164F
tetradic
#4F7A16 #167A73 #41167A #7A161D
square
#4F7A16 #167A73 #41167A #7A161D
split-complementary
#4F7A16 #161D7A #73167A
monochromatic
#111A05 #2D460D #4F7A16 #71AE1F #91DA31

Accessibility & contrast

On white

5.09
#4F7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4F7A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7A16
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7A16#FFFFFF#000000##FFFFFF
##4F7A161.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#517468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f7a16;
/* rgb */ color: rgb(79, 122, 22);
/* oklch */ color: oklch(52.8% 0.134 130.9);
Tailwind
colors: {
  custom: {
    50: '#85a05d',
    500: '#4f7a16',
    950: '#000000',
  },
}
SCSS
$custom: #4f7a16;
$custom-light: #85a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7a16",
  "rgb": {
    "r": 79,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 85.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.13372,
    "h": 130.9
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#4F7A16
secondary
#6E3DAF
accent
#3CEC88
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4F7A16

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

Preview Lab → · Contrast checker → · Palette generator →

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