#4F9122#4F9122

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

Color values

HEX#4F9122
RGBrgb(79, 145, 34)
HSLhsl(96, 62%, 35%)
HSVhsv(96, 77%, 57%)
CMYKcmyk(45.5%, 0%, 76.6%, 43.1%)
CIE-LABlab(54.06, -40.20, 48.95)
CIE-LCHlch(54.06, 63.34, 129.40°)
OKLaboklab(59.05% -0.1121 0.1095)
OKLCHoklch(59.05% 0.157 135.7)
XYZxyz(13.6382, 22.0277, 5.0462)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9122 #642291
analogous
#869122 #4F9122 #22912D
triadic
#4F9122 #224F91 #91224F
tetradic
#4F9122 #228691 #642291 #912D22
square
#4F9122 #228691 #642291 #912D22
split-complementary
#4F9122 #2D2291 #912286
monochromatic
#192E0B #345F16 #4F9122 #6AC32E #8AD756

Accessibility & contrast

On white

3.88
#4F9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4F9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9122
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9122#FFFFFF#000000##000000
##4F91221.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f9122;
/* rgb */ color: rgb(79, 145, 34);
/* oklch */ color: oklch(59.1% 0.157 135.7);
Tailwind
colors: {
  custom: {
    50: '#87b266',
    500: '#4f9122',
    950: '#000000',
  },
}
SCSS
$custom: #4f9122;
$custom-light: #87b266;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9122",
  "rgb": {
    "r": 79,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 95.676,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.15676,
    "h": 135.7
  },
  "luminance": 0.22029
}

Semantic roles & 50–950 ramp

primary
#4F9122
secondary
#9153BB
accent
#43E5A3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9122

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

Preview Lab → · Contrast checker → · Palette generator →

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