#4F761F#4F761F

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

Color values

HEX#4F761F
RGBrgb(79, 118, 31)
HSLhsl(87, 58%, 29%)
HSVhsv(87, 74%, 46%)
CMYKcmyk(33.1%, 0%, 73.7%, 53.7%)
CIE-LABlab(45.25, -28.34, 41.33)
CIE-LCHlch(45.25, 50.11, 124.44°)
OKLaboklab(51.84% -0.0802 0.0931)
OKLCHoklch(51.84% 0.123 130.7)
XYZxyz(9.9501, 14.7177, 3.6126)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F761F #461F76
analogous
#76721F #4F761F #23761F
triadic
#4F761F #1F4F76 #761F4F
tetradic
#4F761F #1F7672 #461F76 #761F23
square
#4F761F #1F7672 #461F76 #761F23
split-complementary
#4F761F #1F2376 #721F76
monochromatic
#101806 #2F4612 #4F761F #6FA62C #8FCD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F761F#FFFFFF#000000##FFFFFF
##4F761F1.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)
#7B6D11
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#517165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f761f;
/* rgb */ color: rgb(79, 118, 31);
/* oklch */ color: oklch(51.8% 0.123 130.7);
Tailwind
colors: {
  custom: {
    50: '#849d61',
    500: '#4f761f',
    950: '#000000',
  },
}
SCSS
$custom: #4f761f;
$custom-light: #849d61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f761f",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 86.897,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.12292,
    "h": 130.7
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#4F761F
secondary
#7347AA
accent
#46E28C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F761F

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

Preview Lab → · Contrast checker → · Palette generator →

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