#4F7C18#4F7C18

#4F7C18 is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.4% C 0.135 H 131.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4F7C18
RGBrgb(79, 124, 24)
HSLhsl(87, 68%, 29%)
HSVhsv(87, 81%, 49%)
CMYKcmyk(36.3%, 0%, 80.6%, 51.4%)
CIE-LABlab(47.16, -31.60, 45.79)
CIE-LCHlch(47.16, 55.63, 124.61°)
OKLaboklab(53.39% -0.0896 0.1013)
OKLCHoklch(53.39% 0.135 131.5)
XYZxyz(10.5969, 16.1431, 3.4216)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C18 #45187C
analogous
#7C7718 #4F7C18 #1D7C18
triadic
#4F7C18 #184F7C #7C184F
tetradic
#4F7C18 #187C77 #45187C #7C181D
square
#4F7C18 #187C77 #45187C #7C181D
split-complementary
#4F7C18 #181D7C #77187C
monochromatic
#101A05 #2E490E #4F7C18 #70AF22 #8FD836

Accessibility & contrast

On white

4.97
#4F7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4F7C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C18#FFFFFF#000000##FFFFFF
##4F7C181.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#507769
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c18;
/* rgb */ color: rgb(79, 124, 24);
/* oklch */ color: oklch(53.4% 0.135 131.5);
Tailwind
colors: {
  custom: {
    50: '#85a25e',
    500: '#4f7c18',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c18;
$custom-light: #85a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c18",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 87,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.13528,
    "h": 131.5
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#4F7C18
secondary
#723FB1
accent
#3DEA8B
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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