#4F7F14#4F7F14

#4F7F14 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.141 H 131.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4F7F14
RGBrgb(79, 127, 20)
HSLhsl(87, 73%, 29%)
HSVhsv(87, 84%, 50%)
CMYKcmyk(37.8%, 0%, 84.3%, 50.2%)
CIE-LABlab(48.12, -33.17, 47.91)
CIE-LCHlch(48.12, 58.28, 124.70°)
OKLaboklab(54.17% -0.0941 0.1052)
OKLCHoklch(54.17% 0.141 131.8)
XYZxyz(10.9400, 16.8911, 3.3456)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7F14 #44147F
analogous
#7F7A14 #4F7F14 #1A7F14
triadic
#4F7F14 #144F7F #7F144F
tetradic
#4F7F14 #147F7A #44147F #7F141A
square
#4F7F14 #147F7A #44147F #7F141A
split-complementary
#4F7F14 #141A7F #7A147F
monochromatic
#101A04 #2E4A0C #4F7F14 #70B41C #90DE2F

Accessibility & contrast

On white

4.80
#4F7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4F7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7F14
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7F14#FFFFFF#000000##FFFFFF
##4F7F141.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#50796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7f14;
/* rgb */ color: rgb(79, 127, 20);
/* oklch */ color: oklch(54.2% 0.141 131.8);
Tailwind
colors: {
  custom: {
    50: '#85a45d',
    500: '#4f7f14',
    950: '#000000',
  },
}
SCSS
$custom: #4f7f14;
$custom-light: #85a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7f14",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 86.916,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.14114,
    "h": 131.8
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#4F7F14
secondary
#713BB4
accent
#38EF8A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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