#4F962A#4F962A

#4F962A is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.4% C 0.158 H 137.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F962A
RGBrgb(79, 150, 42)
HSLhsl(99, 56%, 38%)
HSVhsv(99, 72%, 59%)
CMYKcmyk(47.3%, 0%, 72%, 41.2%)
CIE-LABlab(55.73, -41.71, 47.62)
CIE-LCHlch(55.73, 63.30, 131.21°)
OKLaboklab(60.44% -0.1156 0.1079)
OKLCHoklch(60.44% 0.158 137)
XYZxyz(14.5483, 23.6412, 5.9866)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F962A #712A96
analogous
#85962A #4F962A #2A963B
triadic
#4F962A #2A4F96 #962A4F
tetradic
#4F962A #2A8596 #712A96 #963B2A
square
#4F962A #2A8596 #712A96 #963B2A
split-complementary
#4F962A #3B2A96 #962A85
monochromatic
#1D360F #36661D #4F962A #68C637 #8CD466

Accessibility & contrast

On white

3.67
#4F962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4F962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F962A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F962A#FFFFFF#000000##000000
##4F962A1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#928334
Tritanopia (blue-blind)
#4B9181
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f962a;
/* rgb */ color: rgb(79, 150, 42);
/* oklch */ color: oklch(60.4% 0.158 137.0);
Tailwind
colors: {
  custom: {
    50: '#87b56a',
    500: '#4f962a',
    950: '#000000',
  },
}
SCSS
$custom: #4f962a;
$custom-light: #87b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f962a",
  "rgb": {
    "r": 79,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 99.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6044,
    "c": 0.15817,
    "h": 137
  },
  "luminance": 0.23642
}

Semantic roles & 50–950 ramp

primary
#4F962A
secondary
#9C61BA
accent
#48E0AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F962A

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

Preview Lab → · Contrast checker → · Palette generator →

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