#4F8A20#4F8A20

#4F8A20 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.149 H 134.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4F8A20
RGBrgb(79, 138, 32)
HSLhsl(93, 62%, 33%)
HSVhsv(93, 77%, 54%)
CMYKcmyk(42.8%, 0%, 76.8%, 45.9%)
CIE-LABlab(51.77, -37.36, 47.43)
CIE-LCHlch(51.77, 60.38, 128.22°)
OKLaboklab(57.18% -0.1046 0.1061)
OKLCHoklch(57.18% 0.149 134.6)
XYZxyz(12.5734, 19.9428, 4.5531)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A20 #5B208A
analogous
#848A20 #4F8A20 #208A26
triadic
#4F8A20 #204F8A #8A204F
tetradic
#4F8A20 #20848A #5B208A #8A2620
square
#4F8A20 #20848A #5B208A #8A2620
split-complementary
#4F8A20 #26208A #8A2084
monochromatic
#162709 #335814 #4F8A20 #6BBC2C #8BD64E

Accessibility & contrast

On white

4.21
#4F8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4F8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A20
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A20#FFFFFF#000000##000000
##4F8A201.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#4E8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8a20;
/* rgb */ color: rgb(79, 138, 32);
/* oklch */ color: oklch(57.2% 0.149 134.6);
Tailwind
colors: {
  custom: {
    50: '#86ac64',
    500: '#4f8a20',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a20;
$custom-light: #86ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a20",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 93.396,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.14896,
    "h": 134.6
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#4F8A20
secondary
#894DB9
accent
#42E59D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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