#4F8724#4F8724

#4F8724 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.143 H 134.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4F8724
RGBrgb(79, 135, 36)
HSLhsl(94, 58%, 34%)
HSVhsv(94, 73%, 53%)
CMYKcmyk(41.5%, 0%, 73.3%, 47.1%)
CIE-LABlab(50.82, -35.77, 44.98)
CIE-LCHlch(50.82, 57.47, 128.49°)
OKLaboklab(56.41% -0.1 0.1016)
OKLCHoklch(56.41% 0.143 134.6)
XYZxyz(12.2066, 19.1170, 4.7155)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8724 #5C2487
analogous
#808724 #4F8724 #24872A
triadic
#4F8724 #244F87 #87244F
tetradic
#4F8724 #248087 #5C2487 #872A24
square
#4F8724 #248087 #5C2487 #872A24
split-complementary
#4F8724 #2A2487 #872480
monochromatic
#16260A #335717 #4F8724 #6BB731 #8AD154

Accessibility & contrast

On white

4.35
#4F8724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4F8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8724
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8724#FFFFFF#000000##000000
##4F87241.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C13
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#4E8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8724;
/* rgb */ color: rgb(79, 135, 36);
/* oklch */ color: oklch(56.4% 0.143 134.6);
Tailwind
colors: {
  custom: {
    50: '#85aa65',
    500: '#4f8724',
    950: '#000000',
  },
}
SCSS
$custom: #4f8724;
$custom-light: #85aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8724",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 93.939,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.14252,
    "h": 134.6
  },
  "luminance": 0.19118
}

Semantic roles & 50–950 ramp

primary
#4F8724
secondary
#8A51B5
accent
#47E19E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8724

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

Preview Lab → · Contrast checker → · Palette generator →

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