#4F9720#4F9720

#4F9720 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.6% C 0.165 H 136.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4F9720
RGBrgb(79, 151, 32)
HSLhsl(96, 65%, 36%)
HSVhsv(96, 79%, 59%)
CMYKcmyk(47.7%, 0%, 78.8%, 40.8%)
CIE-LABlab(55.99, -42.81, 51.49)
CIE-LCHlch(55.99, 66.96, 129.74°)
OKLaboklab(60.63% -0.1193 0.1146)
OKLCHoklch(60.63% 0.165 136.2)
XYZxyz(14.5514, 23.8988, 5.2124)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9720 #682097
analogous
#8A9720 #4F9720 #20972D
triadic
#4F9720 #204F97 #97204F
tetradic
#4F9720 #208A97 #682097 #972D20
square
#4F9720 #208A97 #682097 #972D20
split-complementary
#4F9720 #2D2097 #97208A
monochromatic
#1A320B #356415 #4F9720 #69C92B #8BDB56

Accessibility & contrast

On white

3.63
#4F9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#4F9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9720
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9720#FFFFFF#000000##000000
##4F97201.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#4C9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f9720;
/* rgb */ color: rgb(79, 151, 32);
/* oklch */ color: oklch(60.6% 0.165 136.2);
Tailwind
colors: {
  custom: {
    50: '#87b665',
    500: '#4f9720',
    950: '#000000',
  },
}
SCSS
$custom: #4f9720;
$custom-light: #87b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9720",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 96.303,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60633,
    "c": 0.16538,
    "h": 136.2
  },
  "luminance": 0.239
}

Semantic roles & 50–950 ramp

primary
#4F9720
secondary
#9554BF
accent
#40E8A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9720

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

Preview Lab → · Contrast checker → · Palette generator →

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