#4F7411#4F7411

#4F7411 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.128 H 129.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F7411
RGBrgb(79, 116, 17)
HSLhsl(82, 74%, 26%)
HSVhsv(82, 85%, 45%)
CMYKcmyk(31.9%, 0%, 85.3%, 54.5%)
CIE-LABlab(44.51, -28.20, 45.54)
CIE-LCHlch(44.51, 53.56, 121.77°)
OKLaboklab(51.21% -0.0809 0.0996)
OKLCHoklch(51.21% 0.128 129.1)
XYZxyz(9.5710, 14.1932, 2.7655)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7411 #361174
analogous
#746711 #4F7411 #1D7411
triadic
#4F7411 #114F74 #74114F
tetradic
#4F7411 #117467 #361174 #74111D
square
#4F7411 #117467 #361174 #74111D
split-complementary
#4F7411 #111D74 #671174
monochromatic
#121B04 #2B3F09 #4F7411 #73A919 #98DE21

Accessibility & contrast

On white

5.47
#4F7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7411
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7411#FFFFFF#000000##FFFFFF
##4F74111.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#526E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7411;
/* rgb */ color: rgb(79, 116, 17);
/* oklch */ color: oklch(51.2% 0.128 129.1);
Tailwind
colors: {
  custom: {
    50: '#849c5a',
    500: '#4f7411',
    950: '#000000',
  },
}
SCSS
$custom: #4f7411;
$custom-light: #849c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7411",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 82.424,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.12835,
    "h": 129.1
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#4F7411
secondary
#6236AB
accent
#37F17C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7411

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

Preview Lab → · Contrast checker → · Palette generator →

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