#4F761B#4F761B

#4F761B 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#4F761B
RGBrgb(79, 118, 27)
HSLhsl(86, 63%, 28%)
HSVhsv(86, 77%, 46%)
CMYKcmyk(33.1%, 0%, 77.1%, 53.7%)
CIE-LABlab(45.22, -28.61, 42.87)
CIE-LCHlch(45.22, 51.54, 123.72°)
OKLaboklab(51.81% -0.0813 0.0957)
OKLCHoklch(51.81% 0.126 130.3)
XYZxyz(9.9007, 14.6979, 3.3520)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F761B #421B76
analogous
#766F1B #4F761B #21761B
triadic
#4F761B #1B4F76 #761B4F
tetradic
#4F761B #1B766F #421B76 #761B21
square
#4F761B #1B766F #421B76 #761B21
split-complementary
#4F761B #1B2176 #6F1B76
monochromatic
#111906 #2E4410 #4F761B #70A826 #91D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F761B#FFFFFF#000000##FFFFFF
##4F761B1.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)
#7C6D08
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#517165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f761b;
/* rgb */ color: rgb(79, 118, 27);
/* oklch */ color: oklch(51.8% 0.126 130.3);
Tailwind
colors: {
  custom: {
    50: '#849d5f',
    500: '#4f761b',
    950: '#000000',
  },
}
SCSS
$custom: #4f761b;
$custom-light: #849d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f761b",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 85.714,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.12557,
    "h": 130.3
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#4F761B
secondary
#6F42AA
accent
#42E688
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F761B

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

Preview Lab → · Contrast checker → · Palette generator →

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