#4F8922#4F8922

#4F8922 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.146 H 134.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4F8922
RGBrgb(79, 137, 34)
HSLhsl(94, 60%, 34%)
HSVhsv(94, 75%, 54%)
CMYKcmyk(42.3%, 0%, 75.2%, 46.3%)
CIE-LABlab(51.46, -36.79, 46.39)
CIE-LCHlch(51.46, 59.20, 128.42°)
OKLaboklab(56.92% -0.1029 0.1042)
OKLCHoklch(56.92% 0.146 134.6)
XYZxyz(12.4586, 19.6684, 4.6530)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8922 #5C2289
analogous
#828922 #4F8922 #228928
triadic
#4F8922 #224F89 #89224F
tetradic
#4F8922 #228289 #5C2289 #892822
square
#4F8922 #228289 #5C2289 #892822
split-complementary
#4F8922 #282289 #892282
monochromatic
#16270A #335816 #4F8922 #6BBA2E #8AD451

Accessibility & contrast

On white

4.26
#4F8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4F8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8922
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8922#FFFFFF#000000##000000
##4F89221.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0E
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#4E8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8922;
/* rgb */ color: rgb(79, 137, 34);
/* oklch */ color: oklch(56.9% 0.146 134.6);
Tailwind
colors: {
  custom: {
    50: '#86ac65',
    500: '#4f8922',
    950: '#000000',
  },
}
SCSS
$custom: #4f8922;
$custom-light: #86ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8922",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 93.786,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56923,
    "c": 0.14644,
    "h": 134.6
  },
  "luminance": 0.19669
}

Semantic roles & 50–950 ramp

primary
#4F8922
secondary
#8A4FB8
accent
#44E39E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8922

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

Preview Lab → · Contrast checker → · Palette generator →

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