#4F8420#4F8420

#4F8420 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.141 H 133.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4F8420
RGBrgb(79, 132, 32)
HSLhsl(92, 61%, 32%)
HSVhsv(92, 76%, 52%)
CMYKcmyk(40.2%, 0%, 75.8%, 48.2%)
CIE-LABlab(49.82, -34.73, 45.51)
CIE-LCHlch(49.82, 57.25, 127.34°)
OKLaboklab(55.58% -0.0975 0.1021)
OKLCHoklch(55.58% 0.141 133.7)
XYZxyz(11.7362, 18.2685, 4.2740)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8420 #552084
analogous
#818420 #4F8420 #208423
triadic
#4F8420 #204F84 #84204F
tetradic
#4F8420 #208184 #552084 #842320
square
#4F8420 #208184 #552084 #842320
split-complementary
#4F8420 #232084 #842081
monochromatic
#142108 #325314 #4F8420 #6CB52C #8BD34B

Accessibility & contrast

On white

4.51
#4F8420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4F8420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8420
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8420#FFFFFF#000000##000000
##4F84201.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f8420;
/* rgb */ color: rgb(79, 132, 32);
/* oklch */ color: oklch(55.6% 0.141 133.7);
Tailwind
colors: {
  custom: {
    50: '#85a863',
    500: '#4f8420',
    950: '#000000',
  },
}
SCSS
$custom: #4f8420;
$custom-light: #85a863;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8420",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 91.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.14113,
    "h": 133.7
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

primary
#4F8420
secondary
#834AB6
accent
#44E499
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8420

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

Preview Lab → · Contrast checker → · Palette generator →

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