#4F741A#4F741A

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

Color values

HEX#4F741A
RGBrgb(79, 116, 26)
HSLhsl(85, 63%, 28%)
HSVhsv(85, 78%, 45%)
CMYKcmyk(31.9%, 0%, 77.6%, 54.5%)
CIE-LABlab(44.56, -27.72, 42.60)
CIE-LCHlch(44.56, 50.82, 123.05°)
OKLaboklab(51.27% -0.079 0.095)
OKLCHoklch(51.27% 0.124 129.7)
XYZxyz(9.6563, 14.2273, 3.2145)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F741A #3F1A74
analogous
#746C1A #4F741A #22741A
triadic
#4F741A #1A4F74 #741A4F
tetradic
#4F741A #1A746C #3F1A74 #741A22
square
#4F741A #1A746C #3F1A74 #741A22
split-complementary
#4F741A #1A2274 #6C1A74
monochromatic
#111906 #2D420F #4F741A #71A625 #92D236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F741A#FFFFFF#000000##FFFFFF
##4F741A1.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)
#7A6B07
Deuteranopia (green-blind)
#756823
Tritanopia (blue-blind)
#516F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f741a;
/* rgb */ color: rgb(79, 116, 26);
/* oklch */ color: oklch(51.3% 0.124 129.7);
Tailwind
colors: {
  custom: {
    50: '#849c5e',
    500: '#4f741a',
    950: '#000000',
  },
}
SCSS
$custom: #4f741a;
$custom-light: #849c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f741a",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 84.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51269,
    "c": 0.12351,
    "h": 129.7
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#4F741A
secondary
#6C41A9
accent
#41E685
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F741A

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

Preview Lab → · Contrast checker → · Palette generator →

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