#4F8520#4F8520

#4F8520 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.142 H 133.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F8520
RGBrgb(79, 133, 32)
HSLhsl(92, 61%, 32%)
HSVhsv(92, 76%, 52%)
CMYKcmyk(40.6%, 0%, 75.9%, 47.8%)
CIE-LABlab(50.15, -35.17, 45.83)
CIE-LCHlch(50.15, 57.77, 127.50°)
OKLaboklab(55.84% -0.0987 0.1027)
OKLCHoklch(55.84% 0.142 133.8)
XYZxyz(11.8725, 18.5410, 4.3194)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8520 #562085
analogous
#828520 #4F8520 #208523
triadic
#4F8520 #204F85 #85204F
tetradic
#4F8520 #208285 #562085 #852320
square
#4F8520 #208285 #562085 #852320
split-complementary
#4F8520 #232085 #852082
monochromatic
#142208 #325414 #4F8520 #6CB62C #8BD44C

Accessibility & contrast

On white

4.46
#4F8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4F8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8520
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8520#FFFFFF#000000##000000
##4F85201.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0C
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8520;
/* rgb */ color: rgb(79, 133, 32);
/* oklch */ color: oklch(55.8% 0.142 133.8);
Tailwind
colors: {
  custom: {
    50: '#85a963',
    500: '#4f8520',
    950: '#000000',
  },
}
SCSS
$custom: #4f8520;
$custom-light: #85a963;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8520",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 92.079,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.14245,
    "h": 133.8
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#4F8520
secondary
#844AB7
accent
#43E499
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8520

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

Preview Lab → · Contrast checker → · Palette generator →

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