#4F7F15#4F7F15

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

Color values

HEX#4F7F15
RGBrgb(79, 127, 21)
HSLhsl(87, 72%, 29%)
HSVhsv(87, 83%, 50%)
CMYKcmyk(37.8%, 0%, 83.5%, 50.2%)
CIE-LABlab(48.13, -33.12, 47.62)
CIE-LCHlch(48.13, 58.01, 124.82°)
OKLaboklab(54.17% -0.0939 0.1047)
OKLCHoklch(54.17% 0.141 131.9)
XYZxyz(10.9491, 16.8947, 3.3934)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7F15 #45157F
analogous
#7F7A15 #4F7F15 #1A7F15
triadic
#4F7F15 #154F7F #7F154F
tetradic
#4F7F15 #157F7A #45157F #7F151A
square
#4F7F15 #157F7A #45157F #7F151A
split-complementary
#4F7F15 #151A7F #7A157F
monochromatic
#101A04 #2E4A0C #4F7F15 #70B41E #8FDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7F15#FFFFFF#000000##FFFFFF
##4F7F151.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: #4f7f15;
/* rgb */ color: rgb(79, 127, 21);
/* oklch */ color: oklch(54.2% 0.141 131.9);
Tailwind
colors: {
  custom: {
    50: '#85a45d',
    500: '#4f7f15',
    950: '#000000',
  },
}
SCSS
$custom: #4f7f15;
$custom-light: #85a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7f15",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 87.17,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54173,
    "c": 0.14067,
    "h": 131.9
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#4F7F15
secondary
#723CB4
accent
#39EE8B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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