#4F851D#4F851D

#4F851D is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.144 H 133.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F851D
RGBrgb(79, 133, 29)
HSLhsl(91, 64%, 32%)
HSVhsv(91, 78%, 52%)
CMYKcmyk(40.6%, 0%, 78.2%, 47.8%)
CIE-LABlab(50.13, -35.36, 46.90)
CIE-LCHlch(50.13, 58.74, 127.02°)
OKLaboklab(55.82% -0.0994 0.1045)
OKLCHoklch(55.82% 0.144 133.6)
XYZxyz(11.8336, 18.5254, 4.1144)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F851D #531D85
analogous
#83851D #4F851D #1D851F
triadic
#4F851D #1D4F85 #851D4F
tetradic
#4F851D #1D8385 #531D85 #851F1D
square
#4F851D #1D8385 #531D85 #851F1D
split-complementary
#4F851D #1F1D85 #851D83
monochromatic
#132107 #315312 #4F851D #6DB728 #8BD746

Accessibility & contrast

On white

4.46
#4F851D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4F851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F851D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F851D#FFFFFF#000000##000000
##4F851D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A04
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f851d;
/* rgb */ color: rgb(79, 133, 29);
/* oklch */ color: oklch(55.8% 0.144 133.6);
Tailwind
colors: {
  custom: {
    50: '#85a962',
    500: '#4f851d',
    950: '#000000',
  },
}
SCSS
$custom: #4f851d;
$custom-light: #85a962;
$custom-dark: #000000;
JSON
{
  "hex": "#4f851d",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 91.154,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.14422,
    "h": 133.6
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#4F851D
secondary
#8146B8
accent
#41E797
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4F851D

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

Preview Lab → · Contrast checker → · Palette generator →

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