#4F8530#4F8530

#4F8530 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.131 H 135.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F8530
RGBrgb(79, 133, 48)
HSLhsl(98, 47%, 35%)
HSVhsv(98, 64%, 52%)
CMYKcmyk(40.6%, 0%, 63.9%, 47.8%)
CIE-LABlab(50.28, -33.83, 39.21)
CIE-LCHlch(50.28, 51.78, 130.79°)
OKLaboklab(55.99% -0.0938 0.091)
OKLCHoklch(55.99% 0.131 135.9)
XYZxyz(12.1452, 18.6501, 5.7556)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8530 #663085
analogous
#798530 #4F8530 #30853C
triadic
#4F8530 #304F85 #85304F
tetradic
#4F8530 #307985 #663085 #853C30
square
#4F8530 #307985 #663085 #853C30
split-complementary
#4F8530 #3C3085 #853079
monochromatic
#1A2B10 #345820 #4F8530 #6AB240 #8BC867

Accessibility & contrast

On white

4.44
#4F8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4F8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8530
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8530#FFFFFF#000000##000000
##4F85301.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A26
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#4D8073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f8530;
/* rgb */ color: rgb(79, 133, 48);
/* oklch */ color: oklch(56.0% 0.131 135.9);
Tailwind
colors: {
  custom: {
    50: '#84a96c',
    500: '#4f8530',
    950: '#000000',
  },
}
SCSS
$custom: #4f8530;
$custom-light: #84a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8530",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 98.118,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.13067,
    "h": 135.9
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#4F8530
secondary
#9361AF
accent
#51D7A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8530

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

Preview Lab → · Contrast checker → · Palette generator →

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