#4F7922#4F7922

#4F7922 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.7% C 0.125 H 131.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4F7922
RGBrgb(79, 121, 34)
HSLhsl(89, 56%, 30%)
HSVhsv(89, 72%, 47%)
CMYKcmyk(34.7%, 0%, 71.9%, 52.5%)
CIE-LABlab(46.25, -29.54, 41.11)
CIE-LCHlch(46.25, 50.62, 125.70°)
OKLaboklab(52.66% -0.0832 0.0932)
OKLCHoklch(52.66% 0.125 131.8)
XYZxyz(10.3504, 15.4521, 3.9503)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7922 #4C2279
analogous
#797822 #4F7922 #237922
triadic
#4F7922 #224F79 #79224F
tetradic
#4F7922 #227978 #4C2279 #792223
square
#4F7922 #227978 #4C2279 #792223
split-complementary
#4F7922 #222379 #782279
monochromatic
#111907 #304915 #4F7922 #6EA92F #8DCC49

Accessibility & contrast

On white

5.13
#4F7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4F7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7922
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7922#FFFFFF#000000##FFFFFF
##4F79221.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7015
Deuteranopia (green-blind)
#796C2A
Tritanopia (blue-blind)
#507468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4f7922;
/* rgb */ color: rgb(79, 121, 34);
/* oklch */ color: oklch(52.7% 0.125 131.8);
Tailwind
colors: {
  custom: {
    50: '#84a063',
    500: '#4f7922',
    950: '#000000',
  },
}
SCSS
$custom: #4f7922;
$custom-light: #84a063;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7922",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 88.966,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.12492,
    "h": 131.8
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#4F7922
secondary
#7A4BAC
accent
#48DF91
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7922

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

Preview Lab → · Contrast checker → · Palette generator →

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