#4F9C20#4F9C20

#4F9C20 is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.0% C 0.172 H 136.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4F9C20
RGBrgb(79, 156, 32)
HSLhsl(97, 66%, 37%)
HSVhsv(97, 79%, 61%)
CMYKcmyk(49.4%, 0%, 79.5%, 38.8%)
CIE-LABlab(57.60, -44.82, 53.03)
CIE-LCHlch(57.60, 69.43, 130.20°)
OKLaboklab(61.96% -0.1247 0.1178)
OKLCHoklch(61.96% 0.172 136.6)
XYZxyz(15.3732, 25.5424, 5.4863)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9C20 #6D209C
analogous
#8D9C20 #4F9C20 #209C2F
triadic
#4F9C20 #204F9C #9C204F
tetradic
#4F9C20 #208D9C #6D209C #9C2F20
square
#4F9C20 #208D9C #6D209C #9C2F20
split-complementary
#4F9C20 #2F209C #9C208D
monochromatic
#1C360B #356916 #4F9C20 #69CF2A #8BDD59

Accessibility & contrast

On white

3.44
#4F9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#4F9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9C20
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9C20#FFFFFF#000000##000000
##4F9C201.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#4B9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4f9c20;
/* rgb */ color: rgb(79, 156, 32);
/* oklch */ color: oklch(62.0% 0.172 136.6);
Tailwind
colors: {
  custom: {
    50: '#88ba66',
    500: '#4f9c20',
    950: '#000000',
  },
}
SCSS
$custom: #4f9c20;
$custom-light: #88ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9c20",
  "rgb": {
    "r": 79,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 97.258,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.17151,
    "h": 136.6
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#4F9C20
secondary
#9957C1
accent
#3FE9A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4F9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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