#4F7019#4F7019

#4F7019 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.119 H 128.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F7019
RGBrgb(79, 112, 25)
HSLhsl(83, 64%, 27%)
HSVhsv(83, 78%, 44%)
CMYKcmyk(29.5%, 0%, 77.7%, 56.1%)
CIE-LABlab(43.24, -25.83, 41.69)
CIE-LCHlch(43.24, 49.05, 121.78°)
OKLaboklab(50.2% -0.0739 0.0929)
OKLCHoklch(50.2% 0.119 128.5)
XYZxyz(9.1941, 13.3206, 3.0062)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7019 #3A1970
analogous
#706619 #4F7019 #237019
triadic
#4F7019 #194F70 #70194F
tetradic
#4F7019 #197066 #3A1970 #701923
square
#4F7019 #197066 #3A1970 #701923
split-complementary
#4F7019 #192370 #661970
monochromatic
#121906 #2C3E0E #4F7019 #72A224 #95D132

Accessibility & contrast

On white

5.73
#4F7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7019
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7019#FFFFFF#000000##FFFFFF
##4F70191.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766807
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#526B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f7019;
/* rgb */ color: rgb(79, 112, 25);
/* oklch */ color: oklch(50.2% 0.119 128.5);
Tailwind
colors: {
  custom: {
    50: '#84995d',
    500: '#4f7019',
    950: '#000000',
  },
}
SCSS
$custom: #4f7019;
$custom-light: #84995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7019",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 82.759,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.11872,
    "h": 128.5
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#4F7019
secondary
#6640A5
accent
#41E780
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7019

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

Preview Lab → · Contrast checker → · Palette generator →

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