#4F7119#4F7119

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

Color values

HEX#4F7119
RGBrgb(79, 113, 25)
HSLhsl(83, 64%, 27%)
HSVhsv(83, 78%, 44%)
CMYKcmyk(30.1%, 0%, 77.9%, 55.7%)
CIE-LABlab(43.57, -26.32, 42.01)
CIE-LCHlch(43.57, 49.58, 122.07°)
OKLaboklab(50.46% -0.0752 0.0936)
OKLCHoklch(50.46% 0.12 128.8)
XYZxyz(9.3050, 13.5425, 3.0432)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7119 #3B1971
analogous
#716719 #4F7119 #237119
triadic
#4F7119 #194F71 #71194F
tetradic
#4F7119 #197167 #3B1971 #711923
square
#4F7119 #197167 #3B1971 #711923
split-complementary
#4F7119 #192371 #671971
monochromatic
#121906 #2C3F0E #4F7119 #72A324 #94D233

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7119#FFFFFF#000000##FFFFFF
##4F71191.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)
#776807
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#526C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f7119;
/* rgb */ color: rgb(79, 113, 25);
/* oklch */ color: oklch(50.5% 0.120 128.8);
Tailwind
colors: {
  custom: {
    50: '#849a5d',
    500: '#4f7119',
    950: '#000000',
  },
}
SCSS
$custom: #4f7119;
$custom-light: #849a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7119",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 83.182,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.12008,
    "h": 128.8
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#4F7119
secondary
#6740A6
accent
#41E781
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7119

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

Preview Lab → · Contrast checker → · Palette generator →

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