#4F842E#4F842E

#4F842E is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.131 H 135.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4F842E
RGBrgb(79, 132, 46)
HSLhsl(97, 48%, 35%)
HSVhsv(97, 65%, 52%)
CMYKcmyk(40.2%, 0%, 65.2%, 48.2%)
CIE-LABlab(49.93, -33.57, 39.75)
CIE-LCHlch(49.93, 52.03, 130.18°)
OKLaboklab(55.7% -0.0932 0.0919)
OKLCHoklch(55.7% 0.131 135.4)
XYZxyz(11.9686, 18.3614, 5.4977)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F842E #632E84
analogous
#7A842E #4F842E #2E8438
triadic
#4F842E #2E4F84 #842E4F
tetradic
#4F842E #2E7A84 #632E84 #84382E
square
#4F842E #2E7A84 #632E84 #84382E
split-complementary
#4F842E #382E84 #842E7A
monochromatic
#19290E #34571E #4F842E #6AB13E #8AC964

Accessibility & contrast

On white

4.49
#4F842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#4F842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F842E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F842E#FFFFFF#000000##000000
##4F842E1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#4E7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f842e;
/* rgb */ color: rgb(79, 132, 46);
/* oklch */ color: oklch(55.7% 0.131 135.4);
Tailwind
colors: {
  custom: {
    50: '#84a86b',
    500: '#4f842e',
    950: '#000000',
  },
}
SCSS
$custom: #4f842e;
$custom-light: #84a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f842e",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 96.977,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.13092,
    "h": 135.4
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#4F842E
secondary
#905EB0
accent
#50D8A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F842E

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

Preview Lab → · Contrast checker → · Palette generator →

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