#4F701E#4F701E

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

Color values

HEX#4F701E
RGBrgb(79, 112, 30)
HSLhsl(84, 58%, 28%)
HSVhsv(84, 73%, 44%)
CMYKcmyk(29.5%, 0%, 73.2%, 56.1%)
CIE-LABlab(43.28, -25.49, 39.74)
CIE-LCHlch(43.28, 47.22, 122.68°)
OKLaboklab(50.24% -0.0725 0.0897)
OKLCHoklch(50.24% 0.115 129)
XYZxyz(9.2529, 13.3441, 3.3162)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F701E #3F1E70
analogous
#70681E #4F701E #26701E
triadic
#4F701E #1E4F70 #701E4F
tetradic
#4F701E #1E7068 #3F1E70 #701E26
square
#4F701E #1E7068 #3F1E70 #701E26
split-complementary
#4F701E #1E2670 #681E70
monochromatic
#111806 #2D4011 #4F701E #71A02B #92CB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F701E#FFFFFF#000000##FFFFFF
##4F701E1.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)
#766811
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#526B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f701e;
/* rgb */ color: rgb(79, 112, 30);
/* oklch */ color: oklch(50.2% 0.115 129.0);
Tailwind
colors: {
  custom: {
    50: '#83995f',
    500: '#4f701e',
    950: '#000000',
  },
}
SCSS
$custom: #4f701e;
$custom-light: #83995f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f701e",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 84.146,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50237,
    "c": 0.11533,
    "h": 129
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#4F701E
secondary
#6C46A4
accent
#47E185
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F701E

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

Preview Lab → · Contrast checker → · Palette generator →

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