#4F841F#4F841F

#4F841F is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.142 H 133.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4F841F
RGBrgb(79, 132, 31)
HSLhsl(91, 62%, 32%)
HSVhsv(91, 77%, 52%)
CMYKcmyk(40.2%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.81, -34.79, 45.88)
CIE-LCHlch(49.81, 57.58, 127.18°)
OKLaboklab(55.57% -0.0977 0.1027)
OKLCHoklch(55.57% 0.142 133.6)
XYZxyz(11.7228, 18.2632, 4.2035)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F841F #541F84
analogous
#82841F #4F841F #1F8422
triadic
#4F841F #1F4F84 #841F4F
tetradic
#4F841F #1F8284 #541F84 #84221F
square
#4F841F #1F8284 #541F84 #84221F
split-complementary
#4F841F #221F84 #841F82
monochromatic
#142108 #315213 #4F841F #6DB62B #8BD449

Accessibility & contrast

On white

4.51
#4F841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4F841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F841F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F841F#FFFFFF#000000##000000
##4F841F1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f841f;
/* rgb */ color: rgb(79, 132, 31);
/* oklch */ color: oklch(55.6% 0.142 133.6);
Tailwind
colors: {
  custom: {
    50: '#85a862',
    500: '#4f841f',
    950: '#000000',
  },
}
SCSS
$custom: #4f841f;
$custom-light: #85a862;
$custom-dark: #000000;
JSON
{
  "hex": "#4f841f",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 91.485,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55569,
    "c": 0.14175,
    "h": 133.6
  },
  "luminance": 0.18264
}

Semantic roles & 50–950 ramp

primary
#4F841F
secondary
#8248B7
accent
#43E598
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F841F

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

Preview Lab → · Contrast checker → · Palette generator →

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