#4F7919#4F7919

#4F7919 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.131 H 130.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F7919
RGBrgb(79, 121, 25)
HSLhsl(86, 66%, 29%)
HSVhsv(86, 79%, 47%)
CMYKcmyk(34.7%, 0%, 79.3%, 52.5%)
CIE-LABlab(46.19, -30.15, 44.52)
CIE-LCHlch(46.19, 53.77, 124.10°)
OKLaboklab(52.6% -0.0856 0.0989)
OKLCHoklch(52.6% 0.131 130.9)
XYZxyz(10.2372, 15.4068, 3.3539)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7919 #431979
analogous
#797319 #4F7919 #1F7919
triadic
#4F7919 #194F79 #79194F
tetradic
#4F7919 #197973 #431979 #79191F
square
#4F7919 #197973 #431979 #79191F
split-complementary
#4F7919 #191F79 #731979
monochromatic
#111905 #2E460F #4F7919 #70AC23 #90D637

Accessibility & contrast

On white

5.15
#4F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4F7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7919
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7919#FFFFFF#000000##FFFFFF
##4F79191.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#517467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f7919;
/* rgb */ color: rgb(79, 121, 25);
/* oklch */ color: oklch(52.6% 0.131 130.9);
Tailwind
colors: {
  custom: {
    50: '#84a05e',
    500: '#4f7919',
    950: '#000000',
  },
}
SCSS
$custom: #4f7919;
$custom-light: #84a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7919",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 86.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.13079,
    "h": 130.9
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#4F7919
secondary
#7040AE
accent
#3FE989
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F7919

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

Preview Lab → · Contrast checker → · Palette generator →

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