#4F741F#4F741F

#4F741F is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.120 H 130.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F741F
RGBrgb(79, 116, 31)
HSLhsl(86, 58%, 29%)
HSVhsv(86, 73%, 45%)
CMYKcmyk(31.9%, 0%, 73.3%, 54.5%)
CIE-LABlab(44.59, -27.38, 40.67)
CIE-LCHlch(44.59, 49.02, 123.95°)
OKLaboklab(51.31% -0.0776 0.0918)
OKLCHoklch(51.31% 0.12 130.2)
XYZxyz(9.7171, 14.2517, 3.5349)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F741F #441F74
analogous
#746F1F #4F741F #25741F
triadic
#4F741F #1F4F74 #741F4F
tetradic
#4F741F #1F746F #441F74 #741F25
square
#4F741F #1F746F #441F74 #741F25
split-complementary
#4F741F #1F2574 #6F1F74
monochromatic
#101806 #2E4412 #4F741F #70A42C #90CC41

Accessibility & contrast

On white

5.45
#4F741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F741F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F741F#FFFFFF#000000##FFFFFF
##4F741F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f741f;
/* rgb */ color: rgb(79, 116, 31);
/* oklch */ color: oklch(51.3% 0.120 130.2);
Tailwind
colors: {
  custom: {
    50: '#849c60',
    500: '#4f741f',
    950: '#000000',
  },
}
SCSS
$custom: #4f741f;
$custom-light: #849c60;
$custom-dark: #000000;
JSON
{
  "hex": "#4f741f",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 86.118,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.12017,
    "h": 130.2
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#4F741F
secondary
#7147A8
accent
#47E18A
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F741F

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

Preview Lab → · Contrast checker → · Palette generator →

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