#4F701F#4F701F

#4F701F is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.115 H 129.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4F701F
RGBrgb(79, 112, 31)
HSLhsl(84, 57%, 28%)
HSVhsv(84, 72%, 44%)
CMYKcmyk(29.5%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.28, -25.42, 39.33)
CIE-LCHlch(43.28, 46.83, 122.87°)
OKLaboklab(50.25% -0.0722 0.089)
OKLCHoklch(50.25% 0.115 129.1)
XYZxyz(9.2659, 13.3493, 3.3845)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F701F #401F70
analogous
#70681F #4F701F #27701F
triadic
#4F701F #1F4F70 #701F4F
tetradic
#4F701F #1F7068 #401F70 #701F27
square
#4F701F #1F7068 #401F70 #701F27
split-complementary
#4F701F #1F2770 #681F70
monochromatic
#111807 #2D4012 #4F701F #71A02C #92CA3F

Accessibility & contrast

On white

5.72
#4F701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4F701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F701F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F701F#FFFFFF#000000##FFFFFF
##4F701F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766813
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#516B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f701f;
/* rgb */ color: rgb(79, 112, 31);
/* oklch */ color: oklch(50.2% 0.115 129.1);
Tailwind
colors: {
  custom: {
    50: '#839960',
    500: '#4f701f',
    950: '#000000',
  },
}
SCSS
$custom: #4f701f;
$custom-light: #839960;
$custom-dark: #000000;
JSON
{
  "hex": "#4f701f",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 84.444,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.1146,
    "h": 129.1
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#4F701F
secondary
#6D47A4
accent
#48E086
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F701F

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

Preview Lab → · Contrast checker → · Palette generator →

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