#4F8720#4F8720

#4F8720 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.145 H 134.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4F8720
RGBrgb(79, 135, 32)
HSLhsl(93, 62%, 33%)
HSVhsv(93, 76%, 53%)
CMYKcmyk(41.5%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.80, -36.05, 46.47)
CIE-LCHlch(50.80, 58.82, 127.80°)
OKLaboklab(56.38% -0.1011 0.1041)
OKLCHoklch(56.38% 0.145 134.2)
XYZxyz(12.1489, 19.0939, 4.4116)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8720 #582087
analogous
#838720 #4F8720 #208724
triadic
#4F8720 #204F87 #87204F
tetradic
#4F8720 #208387 #582087 #872420
square
#4F8720 #208387 #582087 #872420
split-complementary
#4F8720 #242087 #872083
monochromatic
#152409 #325614 #4F8720 #6CB82C #8BD54D

Accessibility & contrast

On white

4.36
#4F8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4F8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8720
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8720#FFFFFF#000000##000000
##4F87201.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0B
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#4E8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8720;
/* rgb */ color: rgb(79, 135, 32);
/* oklch */ color: oklch(56.4% 0.145 134.2);
Tailwind
colors: {
  custom: {
    50: '#85aa63',
    500: '#4f8720',
    950: '#000000',
  },
}
SCSS
$custom: #4f8720;
$custom-light: #85aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8720",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 92.621,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.14506,
    "h": 134.2
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#4F8720
secondary
#864BB8
accent
#43E59B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8720

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

Preview Lab → · Contrast checker → · Palette generator →

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