#4F7118#4F7118

#4F7118 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.5% C 0.121 H 128.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F7118
RGBrgb(79, 113, 24)
HSLhsl(83, 65%, 27%)
HSVhsv(83, 79%, 44%)
CMYKcmyk(30.1%, 0%, 78.8%, 55.7%)
CIE-LABlab(43.56, -26.38, 42.37)
CIE-LCHlch(43.56, 49.92, 121.91°)
OKLaboklab(50.46% -0.0755 0.0942)
OKLCHoklch(50.46% 0.121 128.7)
XYZxyz(9.2944, 13.5382, 2.9874)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7118 #3A1871
analogous
#716718 #4F7118 #237118
triadic
#4F7118 #184F71 #71184F
tetradic
#4F7118 #187167 #3A1871 #711823
square
#4F7118 #187167 #3A1871 #711823
split-complementary
#4F7118 #182371 #671871
monochromatic
#121905 #2C3F0D #4F7118 #72A323 #95D330

Accessibility & contrast

On white

5.66
#4F7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4F7118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7118
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7118#FFFFFF#000000##FFFFFF
##4F71181.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#526C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f7118;
/* rgb */ color: rgb(79, 113, 24);
/* oklch */ color: oklch(50.5% 0.121 128.7);
Tailwind
colors: {
  custom: {
    50: '#849a5c',
    500: '#4f7118',
    950: '#000000',
  },
}
SCSS
$custom: #4f7118;
$custom-light: #849a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7118",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 82.921,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.1207,
    "h": 128.7
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#4F7118
secondary
#663EA6
accent
#40E880
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7118

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

Preview Lab → · Contrast checker → · Palette generator →

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