#4F761A#4F761A

#4F761A is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.126 H 130.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F761A
RGBrgb(79, 118, 26)
HSLhsl(85, 64%, 28%)
HSVhsv(85, 78%, 46%)
CMYKcmyk(33.1%, 0%, 78%, 53.7%)
CIE-LABlab(45.21, -28.67, 43.23)
CIE-LCHlch(45.21, 51.88, 123.56°)
OKLaboklab(51.8% -0.0815 0.0963)
OKLCHoklch(51.8% 0.126 130.3)
XYZxyz(9.8893, 14.6934, 3.2921)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F761A #411A76
analogous
#766F1A #4F761A #21761A
triadic
#4F761A #1A4F76 #761A4F
tetradic
#4F761A #1A766F #411A76 #761A21
square
#4F761A #1A766F #411A76 #761A21
split-complementary
#4F761A #1A2176 #6F1A76
monochromatic
#111906 #2D440F #4F761A #71A825 #91D337

Accessibility & contrast

On white

5.33
#4F761A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F761A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F761A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F761A#FFFFFF#000000##FFFFFF
##4F761A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#517164
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f761a;
/* rgb */ color: rgb(79, 118, 26);
/* oklch */ color: oklch(51.8% 0.126 130.3);
Tailwind
colors: {
  custom: {
    50: '#849d5e',
    500: '#4f761a',
    950: '#000000',
  },
}
SCSS
$custom: #4f761a;
$custom-light: #849d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f761a",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 85.435,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.1262,
    "h": 130.3
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#4F761A
secondary
#6E41AB
accent
#41E787
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F761A

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

Preview Lab → · Contrast checker → · Palette generator →

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