#4F8928#4F8928

#4F8928 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.142 H 135.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F8928
RGBrgb(79, 137, 40)
HSLhsl(96, 55%, 35%)
HSVhsv(96, 71%, 54%)
CMYKcmyk(42.3%, 0%, 70.8%, 46.3%)
CIE-LABlab(51.50, -36.34, 44.06)
CIE-LCHlch(51.50, 57.11, 129.51°)
OKLaboklab(56.97% -0.1012 0.1002)
OKLCHoklch(56.97% 0.142 135.3)
XYZxyz(12.5528, 19.7061, 5.1493)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8928 #622889
analogous
#808928 #4F8928 #288931
triadic
#4F8928 #284F89 #89284F
tetradic
#4F8928 #288089 #622889 #893128
square
#4F8928 #288089 #622889 #893128
split-complementary
#4F8928 #312889 #892880
monochromatic
#182A0C #345A1A #4F8928 #6AB836 #8ACF5C

Accessibility & contrast

On white

4.25
#4F8928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4F8928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8928
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8928#FFFFFF#000000##000000
##4F89281.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E19
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#4D8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8928;
/* rgb */ color: rgb(79, 137, 40);
/* oklch */ color: oklch(57.0% 0.142 135.3);
Tailwind
colors: {
  custom: {
    50: '#85ac68',
    500: '#4f8928',
    950: '#000000',
  },
}
SCSS
$custom: #4f8928;
$custom-light: #85ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8928",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 95.876,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56972,
    "c": 0.14243,
    "h": 135.3
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#4F8928
secondary
#8F58B5
accent
#4ADEA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8928

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

Preview Lab → · Contrast checker → · Palette generator →

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