#4F8032#4F8032

#4F8032 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.122 H 135.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F8032
RGBrgb(79, 128, 50)
HSLhsl(98, 44%, 35%)
HSVhsv(98, 61%, 50%)
CMYKcmyk(38.3%, 0%, 60.9%, 49.8%)
CIE-LABlab(48.67, -31.33, 36.45)
CIE-LCHlch(48.67, 48.06, 130.68°)
OKLaboklab(54.69% -0.0868 0.0853)
OKLCHoklch(54.69% 0.122 135.5)
XYZxyz(11.5191, 17.3304, 5.7551)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8032 #633280
analogous
#768032 #4F8032 #32803C
triadic
#4F8032 #324F80 #80324F
tetradic
#4F8032 #327680 #633280 #803C32
square
#4F8032 #327680 #633280 #803C32
split-complementary
#4F8032 #3C3280 #803276
monochromatic
#192810 #345421 #4F8032 #6AAC43 #8AC468

Accessibility & contrast

On white

4.70
#4F8032 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4F8032 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8032
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8032#FFFFFF#000000##FFFFFF
##4F80321.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762A
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#4E7B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f8032;
/* rgb */ color: rgb(79, 128, 50);
/* oklch */ color: oklch(54.7% 0.122 135.5);
Tailwind
colors: {
  custom: {
    50: '#84a56d',
    500: '#4f8032',
    950: '#000000',
  },
}
SCSS
$custom: #4f8032;
$custom-light: #84a56d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8032",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 50
  },
  "hsl": {
    "h": 97.692,
    "s": 43.82,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.1217,
    "h": 135.5
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#4F8032
secondary
#9062AC
accent
#54D4A4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F8032

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

Preview Lab → · Contrast checker → · Palette generator →

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