#4F802D#4F802D

#4F802D is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.126 H 134.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F802D
RGBrgb(79, 128, 45)
HSLhsl(95, 48%, 34%)
HSVhsv(95, 65%, 50%)
CMYKcmyk(38.3%, 0%, 64.8%, 49.8%)
CIE-LABlab(48.62, -31.84, 38.77)
CIE-LCHlch(48.62, 50.17, 129.40°)
OKLaboklab(54.63% -0.0886 0.0897)
OKLCHoklch(54.63% 0.126 134.6)
XYZxyz(11.4170, 17.2895, 5.2178)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F802D #5E2D80
analogous
#79802D #4F802D #2D8035
triadic
#4F802D #2D4F80 #802D4F
tetradic
#4F802D #2D7980 #5E2D80 #80352D
square
#4F802D #2D7980 #5E2D80 #80352D
split-complementary
#4F802D #352D80 #802D79
monochromatic
#17250D #33531D #4F802D #6BAD3D #8AC760

Accessibility & contrast

On white

4.71
#4F802D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4F802D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F802D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F802D#FFFFFF#000000##FFFFFF
##4F802D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857623
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#4E7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f802d;
/* rgb */ color: rgb(79, 128, 45);
/* oklch */ color: oklch(54.6% 0.126 134.6);
Tailwind
colors: {
  custom: {
    50: '#84a56a',
    500: '#4f802d',
    950: '#000000',
  },
}
SCSS
$custom: #4f802d;
$custom-light: #84a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f802d",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 95.422,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.12609,
    "h": 134.6
  },
  "luminance": 0.1729
}

Semantic roles & 50–950 ramp

primary
#4F802D
secondary
#8C5BAE
accent
#50D8A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F802D

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

Preview Lab → · Contrast checker → · Palette generator →

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