#4F8727#4F8727

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

Color values

HEX#4F8727
RGBrgb(79, 135, 39)
HSLhsl(95, 55%, 34%)
HSVhsv(95, 71%, 53%)
CMYKcmyk(41.5%, 0%, 71.1%, 47.1%)
CIE-LABlab(50.85, -35.54, 43.79)
CIE-LCHlch(50.85, 56.40, 129.06°)
OKLaboklab(56.43% -0.0991 0.0995)
OKLCHoklch(56.43% 0.14 134.9)
XYZxyz(12.2544, 19.1361, 4.9670)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8727 #5F2787
analogous
#7F8727 #4F8727 #27872F
triadic
#4F8727 #274F87 #87274F
tetradic
#4F8727 #277F87 #5F2787 #872F27
square
#4F8727 #277F87 #5F2787 #872F27
split-complementary
#4F8727 #2F2787 #87277F
monochromatic
#17280C #335819 #4F8727 #6BB635 #8ACF59

Accessibility & contrast

On white

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

On black

4.83
#4F8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8727
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8727#FFFFFF#000000##000000
##4F87271.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C18
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#4E8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8727;
/* rgb */ color: rgb(79, 135, 39);
/* oklch */ color: oklch(56.4% 0.140 134.9);
Tailwind
colors: {
  custom: {
    50: '#85aa67',
    500: '#4f8727',
    950: '#000000',
  },
}
SCSS
$custom: #4f8727;
$custom-light: #85aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8727",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 95,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.14045,
    "h": 134.9
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#4F8727
secondary
#8D56B4
accent
#49DFA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8727

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

Preview Lab → · Contrast checker → · Palette generator →

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