#4F8E16#4F8E16

#4F8E16 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.159 H 134.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4F8E16
RGBrgb(79, 142, 22)
HSLhsl(92, 73%, 32%)
HSVhsv(92, 85%, 56%)
CMYKcmyk(44.4%, 0%, 84.5%, 44.3%)
CIE-LABlab(53.02, -39.61, 51.76)
CIE-LCHlch(53.02, 65.18, 127.43°)
OKLaboklab(58.18% -0.1113 0.1136)
OKLCHoklch(58.18% 0.159 134.4)
XYZxyz(13.0420, 21.0655, 4.1377)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E16 #55168E
analogous
#8B8E16 #4F8E16 #168E19
triadic
#4F8E16 #164F8E #8E164F
tetradic
#4F8E16 #168B8E #55168E #8E1916
square
#4F8E16 #168B8E #55168E #8E1916
split-complementary
#4F8E16 #19168E #8E168B
monochromatic
#142406 #32590E #4F8E16 #6CC31E #8BE13D

Accessibility & contrast

On white

4.03
#4F8E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4F8E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E16
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E16#FFFFFF#000000##000000
##4F8E161.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#4E8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e16;
/* rgb */ color: rgb(79, 142, 22);
/* oklch */ color: oklch(58.2% 0.159 134.4);
Tailwind
colors: {
  custom: {
    50: '#87af60',
    500: '#4f8e16',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e16;
$custom-light: #87af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e16",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 91.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.15904,
    "h": 134.4
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#4F8E16
secondary
#833FC1
accent
#38F098
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8E16

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

Preview Lab → · Contrast checker → · Palette generator →

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