#4F761C#4F761C

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

Color values

HEX#4F761C
RGBrgb(79, 118, 28)
HSLhsl(86, 62%, 29%)
HSVhsv(86, 76%, 46%)
CMYKcmyk(33.1%, 0%, 76.3%, 53.7%)
CIE-LABlab(45.22, -28.55, 42.49)
CIE-LCHlch(45.22, 51.19, 123.89°)
OKLaboklab(51.82% -0.081 0.0951)
OKLCHoklch(51.82% 0.125 130.4)
XYZxyz(9.9124, 14.7026, 3.4140)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F761C #431C76
analogous
#76701C #4F761C #22761C
triadic
#4F761C #1C4F76 #761C4F
tetradic
#4F761C #1C7670 #431C76 #761C22
square
#4F761C #1C7670 #431C76 #761C22
split-complementary
#4F761C #1C2276 #701C76
monochromatic
#111906 #2E4510 #4F761C #70A728 #90D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F761C#FFFFFF#000000##FFFFFF
##4F761C1.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)
#7C6D0B
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#517165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f761c;
/* rgb */ color: rgb(79, 118, 28);
/* oklch */ color: oklch(51.8% 0.125 130.4);
Tailwind
colors: {
  custom: {
    50: '#849d5f',
    500: '#4f761c',
    950: '#000000',
  },
}
SCSS
$custom: #4f761c;
$custom-light: #849d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f761c",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 86,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.12495,
    "h": 130.4
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#4F761C
secondary
#7044AA
accent
#43E589
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F761C

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

Preview Lab → · Contrast checker → · Palette generator →

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