#4F9727#4F9727

#4F9727 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.7% C 0.161 H 136.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4F9727
RGBrgb(79, 151, 39)
HSLhsl(99, 59%, 37%)
HSVhsv(99, 74%, 59%)
CMYKcmyk(47.7%, 0%, 74.2%, 40.8%)
CIE-LABlab(56.03, -42.34, 49.07)
CIE-LCHlch(56.03, 64.82, 130.79°)
OKLaboklab(60.68% -0.1176 0.1106)
OKLCHoklch(60.68% 0.161 136.8)
XYZxyz(14.6568, 23.9410, 5.7678)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9727 #6F2797
analogous
#879727 #4F9727 #279737
triadic
#4F9727 #274F97 #97274F
tetradic
#4F9727 #278797 #6F2797 #973727
square
#4F9727 #278797 #6F2797 #973727
split-complementary
#4F9727 #372797 #972787
monochromatic
#1C360E #36661A #4F9727 #68C834 #8CD662

Accessibility & contrast

On white

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

On black

5.79
#4F9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9727
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9727#FFFFFF#000000##000000
##4F97271.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#4B9181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f9727;
/* rgb */ color: rgb(79, 151, 39);
/* oklch */ color: oklch(60.7% 0.161 136.8);
Tailwind
colors: {
  custom: {
    50: '#87b669',
    500: '#4f9727',
    950: '#000000',
  },
}
SCSS
$custom: #4f9727;
$custom-light: #87b669;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9727",
  "rgb": {
    "r": 79,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 98.571,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.16137,
    "h": 136.8
  },
  "luminance": 0.23942
}

Semantic roles & 50–950 ramp

primary
#4F9727
secondary
#9A5EBC
accent
#46E2AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F9727

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

Preview Lab → · Contrast checker → · Palette generator →

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