#4F9121#4F9121

#4F9121 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.0% C 0.157 H 135.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F9121
RGBrgb(79, 145, 33)
HSLhsl(95, 63%, 35%)
HSVhsv(95, 77%, 57%)
CMYKcmyk(45.5%, 0%, 77.2%, 43.1%)
CIE-LABlab(54.05, -40.27, 49.29)
CIE-LCHlch(54.05, 63.65, 129.25°)
OKLaboklab(59.05% -0.1124 0.1101)
OKLCHoklch(59.05% 0.157 135.6)
XYZxyz(13.6240, 22.0220, 4.9713)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9121 #632191
analogous
#879121 #4F9121 #21912B
triadic
#4F9121 #214F91 #91214F
tetradic
#4F9121 #218791 #632191 #912B21
square
#4F9121 #218791 #632191 #912B21
split-complementary
#4F9121 #2B2191 #912187
monochromatic
#192D0A #345F16 #4F9121 #6AC32C #8AD854

Accessibility & contrast

On white

3.89
#4F9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4F9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9121
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9121#FFFFFF#000000##000000
##4F91211.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968507
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#4D8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4f9121;
/* rgb */ color: rgb(79, 145, 33);
/* oklch */ color: oklch(59.0% 0.157 135.6);
Tailwind
colors: {
  custom: {
    50: '#87b265',
    500: '#4f9121',
    950: '#000000',
  },
}
SCSS
$custom: #4f9121;
$custom-light: #87b265;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9121",
  "rgb": {
    "r": 79,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 95.357,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59045,
    "c": 0.15733,
    "h": 135.6
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#4F9121
secondary
#9052BC
accent
#42E6A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9121

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

Preview Lab → · Contrast checker → · Palette generator →

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