#4F9721#4F9721

#4F9721 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#4F9721
RGBrgb(79, 151, 33)
HSLhsl(97, 64%, 36%)
HSVhsv(97, 78%, 59%)
CMYKcmyk(47.7%, 0%, 78.1%, 40.8%)
CIE-LABlab(55.99, -42.74, 51.17)
CIE-LCHlch(55.99, 66.67, 129.87°)
OKLaboklab(60.64% -0.119 0.114)
OKLCHoklch(60.64% 0.165 136.2)
XYZxyz(14.5652, 23.9043, 5.2851)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9721 #692197
analogous
#8A9721 #4F9721 #21972E
triadic
#4F9721 #214F97 #97214F
tetradic
#4F9721 #218A97 #692197 #972E21
square
#4F9721 #218A97 #692197 #972E21
split-complementary
#4F9721 #2E2197 #97218A
monochromatic
#1A330B #356516 #4F9721 #69C92C #8BDA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F9721#FFFFFF#000000##000000
##4F97211.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)
#9C8A03
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#4C9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f9721;
/* rgb */ color: rgb(79, 151, 33);
/* oklch */ color: oklch(60.6% 0.165 136.2);
Tailwind
colors: {
  custom: {
    50: '#87b666',
    500: '#4f9721',
    950: '#000000',
  },
}
SCSS
$custom: #4f9721;
$custom-light: #87b666;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9721",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 96.61,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60639,
    "c": 0.16485,
    "h": 136.2
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#4F9721
secondary
#9555BE
accent
#41E7A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9721

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

Preview Lab → · Contrast checker → · Palette generator →

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