#4F8729#4F8729

#4F8729 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.5% C 0.139 H 135.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4F8729
RGBrgb(79, 135, 41)
HSLhsl(96, 53%, 35%)
HSVhsv(96, 70%, 53%)
CMYKcmyk(41.5%, 0%, 69.6%, 47.1%)
CIE-LABlab(50.86, -35.37, 42.97)
CIE-LCHlch(50.86, 55.65, 129.46°)
OKLaboklab(56.45% -0.0985 0.0981)
OKLCHoklch(56.45% 0.139 135.1)
XYZxyz(12.2884, 19.1497, 5.1462)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8729 #612987
analogous
#7E8729 #4F8729 #298732
triadic
#4F8729 #294F87 #87294F
tetradic
#4F8729 #297E87 #612987 #873229
square
#4F8729 #297E87 #612987 #873229
split-complementary
#4F8729 #322987 #87297E
monochromatic
#18290C #34581B #4F8729 #6AB637 #8ACE5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8729#FFFFFF#000000##000000
##4F87291.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)
#8C7C1C
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#4E8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f8729;
/* rgb */ color: rgb(79, 135, 41);
/* oklch */ color: oklch(56.5% 0.139 135.1);
Tailwind
colors: {
  custom: {
    50: '#85aa68',
    500: '#4f8729',
    950: '#000000',
  },
}
SCSS
$custom: #4f8729;
$custom-light: #85aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8729",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 95.745,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.139,
    "h": 135.1
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#4F8729
secondary
#8F59B3
accent
#4BDDA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8729

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

Preview Lab → · Contrast checker → · Palette generator →

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