#4F7013#4F7013

#4F7013 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.122 H 128.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4F7013
RGBrgb(79, 112, 19)
HSLhsl(81, 71%, 26%)
HSVhsv(81, 83%, 44%)
CMYKcmyk(29.5%, 0%, 83%, 56.1%)
CIE-LABlab(43.21, -26.17, 43.75)
CIE-LCHlch(43.21, 50.98, 120.88°)
OKLaboklab(50.16% -0.0753 0.0962)
OKLCHoklch(50.16% 0.122 128)
XYZxyz(9.1362, 13.2974, 2.7013)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7013 #341370
analogous
#706213 #4F7013 #217013
triadic
#4F7013 #134F70 #70134F
tetradic
#4F7013 #137062 #341370 #701321
square
#4F7013 #137062 #341370 #701321
split-complementary
#4F7013 #132170 #621370
monochromatic
#121A04 #2A3C0A #4F7013 #74A41C #99D925

Accessibility & contrast

On white

5.74
#4F7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7013
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7013#FFFFFF#000000##FFFFFF
##4F70131.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#526B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f7013;
/* rgb */ color: rgb(79, 112, 19);
/* oklch */ color: oklch(50.2% 0.122 128.0);
Tailwind
colors: {
  custom: {
    50: '#84995a',
    500: '#4f7013',
    950: '#000000',
  },
}
SCSS
$custom: #4f7013;
$custom-light: #84995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7013",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 81.29,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.12217,
    "h": 128
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#4F7013
secondary
#5F38A7
accent
#3AEE7A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7013

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

Preview Lab → · Contrast checker → · Palette generator →

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