#4F8D16#4F8D16

#4F8D16 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.158 H 134.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F8D16
RGBrgb(79, 141, 22)
HSLhsl(91, 73%, 32%)
HSVhsv(91, 84%, 55%)
CMYKcmyk(44%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.70, -39.19, 51.47)
CIE-LCHlch(52.70, 64.69, 127.29°)
OKLaboklab(57.92% -0.1102 0.113)
OKLCHoklch(57.92% 0.158 134.3)
XYZxyz(12.8939, 20.7692, 4.0884)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D16 #54168D
analogous
#8A8D16 #4F8D16 #168D19
triadic
#4F8D16 #164F8D #8D164F
tetradic
#4F8D16 #168A8D #54168D #8D1916
square
#4F8D16 #168A8D #54168D #8D1916
split-complementary
#4F8D16 #19168D #8D168A
monochromatic
#142305 #31580E #4F8D16 #6DC21E #8BE13D

Accessibility & contrast

On white

4.07
#4F8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D16
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D16#FFFFFF#000000##000000
##4F8D161.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d16;
/* rgb */ color: rgb(79, 141, 22);
/* oklch */ color: oklch(57.9% 0.158 134.3);
Tailwind
colors: {
  custom: {
    50: '#87af60',
    500: '#4f8d16',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d16;
$custom-light: #87af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d16",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 91.261,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57916,
    "c": 0.1578,
    "h": 134.3
  },
  "luminance": 0.2077
}

Semantic roles & 50–950 ramp

primary
#4F8D16
secondary
#823EC1
accent
#38F098
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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