#4F7014#4F7014

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

Color values

HEX#4F7014
RGBrgb(79, 112, 20)
HSLhsl(82, 70%, 26%)
HSVhsv(82, 82%, 44%)
CMYKcmyk(29.5%, 0%, 82.1%, 56.1%)
CIE-LABlab(43.21, -26.12, 43.43)
CIE-LCHlch(43.21, 50.68, 121.02°)
OKLaboklab(50.17% -0.0751 0.0957)
OKLCHoklch(50.17% 0.122 128.1)
XYZxyz(9.1449, 13.3009, 2.7472)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7014 #351470
analogous
#706314 #4F7014 #217014
triadic
#4F7014 #144F70 #70144F
tetradic
#4F7014 #147063 #351470 #701421
square
#4F7014 #147063 #351470 #701421
split-complementary
#4F7014 #142170 #631470
monochromatic
#121A05 #2A3C0B #4F7014 #74A41D #98D827

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7014#FFFFFF#000000##FFFFFF
##4F70141.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)
#766800
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#526B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f7014;
/* rgb */ color: rgb(79, 112, 20);
/* oklch */ color: oklch(50.2% 0.122 128.1);
Tailwind
colors: {
  custom: {
    50: '#84995a',
    500: '#4f7014',
    950: '#000000',
  },
}
SCSS
$custom: #4f7014;
$custom-light: #84995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7014",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 81.522,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.12164,
    "h": 128.1
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#4F7014
secondary
#6039A6
accent
#3BED7B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7014

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

Preview Lab → · Contrast checker → · Palette generator →

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