#4F8725#4F8725

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

Color values

HEX#4F8725
RGBrgb(79, 135, 37)
HSLhsl(94, 57%, 34%)
HSVhsv(94, 73%, 53%)
CMYKcmyk(41.5%, 0%, 72.6%, 47.1%)
CIE-LABlab(50.83, -35.69, 44.59)
CIE-LCHlch(50.83, 57.12, 128.68°)
OKLaboklab(56.42% -0.0997 0.1009)
OKLCHoklch(56.42% 0.142 134.7)
XYZxyz(12.2221, 19.1231, 4.7970)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8725 #5D2587
analogous
#808725 #4F8725 #25872C
triadic
#4F8725 #254F87 #87254F
tetradic
#4F8725 #258087 #5D2587 #872C25
square
#4F8725 #258087 #5D2587 #872C25
split-complementary
#4F8725 #2C2587 #872580
monochromatic
#17270B #335718 #4F8725 #6BB732 #8AD156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8725#FFFFFF#000000##000000
##4F87251.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)
#8C7C15
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#4E8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8725;
/* rgb */ color: rgb(79, 135, 37);
/* oklch */ color: oklch(56.4% 0.142 134.7);
Tailwind
colors: {
  custom: {
    50: '#85aa66',
    500: '#4f8725',
    950: '#000000',
  },
}
SCSS
$custom: #4f8725;
$custom-light: #85aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8725",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 94.286,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.14185,
    "h": 134.7
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#4F8725
secondary
#8B53B5
accent
#48E09F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8725

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

Preview Lab → · Contrast checker → · Palette generator →

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