#4F741C#4F741C

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

Color values

HEX#4F741C
RGBrgb(79, 116, 28)
HSLhsl(85, 61%, 28%)
HSVhsv(85, 76%, 45%)
CMYKcmyk(31.9%, 0%, 75.9%, 54.5%)
CIE-LABlab(44.57, -27.59, 41.85)
CIE-LCHlch(44.57, 50.12, 123.39°)
OKLaboklab(51.28% -0.0784 0.0937)
OKLCHoklch(51.28% 0.122 129.9)
XYZxyz(9.6794, 14.2366, 3.3363)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F741C #411C74
analogous
#746D1C #4F741C #23741C
triadic
#4F741C #1C4F74 #741C4F
tetradic
#4F741C #1C746D #411C74 #741C23
square
#4F741C #1C746D #411C74 #741C23
split-complementary
#4F741C #1C2374 #6D1C74
monochromatic
#111906 #2D4310 #4F741C #71A528 #91D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F741C#FFFFFF#000000##FFFFFF
##4F741C1.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)
#7A6B0B
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#516F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f741c;
/* rgb */ color: rgb(79, 116, 28);
/* oklch */ color: oklch(51.3% 0.122 129.9);
Tailwind
colors: {
  custom: {
    50: '#849c5f',
    500: '#4f741c',
    950: '#000000',
  },
}
SCSS
$custom: #4f741c;
$custom-light: #849c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f741c",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 85.227,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.12222,
    "h": 129.9
  },
  "luminance": 0.14237
}

Semantic roles & 50–950 ramp

primary
#4F741C
secondary
#6E43A8
accent
#44E487
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F741C

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

Preview Lab → · Contrast checker → · Palette generator →

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