#4F762B#4F762B

#4F762B is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.0% C 0.113 H 132.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4F762B
RGBrgb(79, 118, 43)
HSLhsl(91, 47%, 32%)
HSVhsv(91, 64%, 46%)
CMYKcmyk(33.1%, 0%, 63.6%, 53.7%)
CIE-LABlab(45.35, -27.31, 36.09)
CIE-LCHlch(45.35, 45.26, 127.12°)
OKLaboklab(51.96% -0.0763 0.0838)
OKLCHoklch(51.96% 0.113 132.4)
XYZxyz(10.1388, 14.7932, 4.6062)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F762B #522B76
analogous
#75762B #4F762B #2B762D
triadic
#4F762B #2B4F76 #762B4F
tetradic
#4F762B #2B7576 #522B76 #762D2B
square
#4F762B #2B7576 #522B76 #762D2B
split-complementary
#4F762B #2D2B76 #762B75
monochromatic
#131C0A #31491B #4F762B #6DA33B #8CC259

Accessibility & contrast

On white

5.30
#4F762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4F762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F762B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F762B#FFFFFF#000000##FFFFFF
##4F762B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D22
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#507166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f762b;
/* rgb */ color: rgb(79, 118, 43);
/* oklch */ color: oklch(52.0% 0.113 132.4);
Tailwind
colors: {
  custom: {
    50: '#839d68',
    500: '#4f762b',
    950: '#000000',
  },
}
SCSS
$custom: #4f762b;
$custom-light: #839d68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f762b",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 91.2,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.11334,
    "h": 132.4
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#4F762B
secondary
#8055A8
accent
#52D697
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F762B

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

Preview Lab → · Contrast checker → · Palette generator →

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