#4F8820#4F8820

#4F8820 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.146 H 134.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4F8820
RGBrgb(79, 136, 32)
HSLhsl(93, 62%, 33%)
HSVhsv(93, 76%, 53%)
CMYKcmyk(41.9%, 0%, 76.5%, 46.7%)
CIE-LABlab(51.12, -36.49, 46.79)
CIE-LCHlch(51.12, 59.34, 127.95°)
OKLaboklab(56.64% -0.1022 0.1047)
OKLCHoklch(56.64% 0.146 134.3)
XYZxyz(12.2891, 19.3742, 4.4583)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8820 #592088
analogous
#838820 #4F8820 #208825
triadic
#4F8820 #204F88 #88204F
tetradic
#4F8820 #208388 #592088 #882520
square
#4F8820 #208388 #592088 #882520
split-complementary
#4F8820 #252088 #882083
monochromatic
#152509 #325614 #4F8820 #6CBA2C #8BD54D

Accessibility & contrast

On white

4.31
#4F8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4F8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8820
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8820#FFFFFF#000000##000000
##4F88201.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0A
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#4E8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f8820;
/* rgb */ color: rgb(79, 136, 32);
/* oklch */ color: oklch(56.6% 0.146 134.3);
Tailwind
colors: {
  custom: {
    50: '#86ab63',
    500: '#4f8820',
    950: '#000000',
  },
}
SCSS
$custom: #4f8820;
$custom-light: #86ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8820",
  "rgb": {
    "r": 79,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 92.885,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.14637,
    "h": 134.3
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#4F8820
secondary
#874CB8
accent
#43E59C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8820

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

Preview Lab → · Contrast checker → · Palette generator →

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