#4F741D#4F741D

#4F741D is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.122 H 130.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4F741D
RGBrgb(79, 116, 29)
HSLhsl(86, 60%, 28%)
HSVhsv(86, 75%, 45%)
CMYKcmyk(31.9%, 0%, 75%, 54.5%)
CIE-LABlab(44.58, -27.52, 41.46)
CIE-LCHlch(44.58, 49.76, 123.57°)
OKLaboklab(51.29% -0.0782 0.0931)
OKLCHoklch(51.29% 0.122 130)
XYZxyz(9.6916, 14.2415, 3.4004)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F741D #421D74
analogous
#746D1D #4F741D #23741D
triadic
#4F741D #1D4F74 #741D4F
tetradic
#4F741D #1D746D #421D74 #741D23
square
#4F741D #1D746D #421D74 #741D23
split-complementary
#4F741D #1D2374 #6D1D74
monochromatic
#111806 #2E4311 #4F741D #70A529 #91CE3D

Accessibility & contrast

On white

5.46
#4F741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4F741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F741D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F741D#FFFFFF#000000##FFFFFF
##4F741D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0E
Deuteranopia (green-blind)
#746925
Tritanopia (blue-blind)
#516F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f741d;
/* rgb */ color: rgb(79, 116, 29);
/* oklch */ color: oklch(51.3% 0.122 130.0);
Tailwind
colors: {
  custom: {
    50: '#849c5f',
    500: '#4f741d',
    950: '#000000',
  },
}
SCSS
$custom: #4f741d;
$custom-light: #849c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f741d",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 85.517,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.12156,
    "h": 130
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#4F741D
secondary
#6F45A8
accent
#45E388
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F741D

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

Preview Lab → · Contrast checker → · Palette generator →

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