#4F762C#4F762C

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

Color values

HEX#4F762C
RGBrgb(79, 118, 44)
HSLhsl(92, 46%, 32%)
HSVhsv(92, 63%, 46%)
CMYKcmyk(33.1%, 0%, 62.7%, 53.7%)
CIE-LABlab(45.36, -27.21, 35.62)
CIE-LCHlch(45.36, 44.82, 127.38°)
OKLaboklab(51.97% -0.076 0.0829)
OKLCHoklch(51.97% 0.112 132.5)
XYZxyz(10.1574, 14.8006, 4.7040)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F762C #532C76
analogous
#74762C #4F762C #2C762E
triadic
#4F762C #2C4F76 #762C4F
tetradic
#4F762C #2C7476 #532C76 #762E2C
square
#4F762C #2C7476 #532C76 #762E2C
split-complementary
#4F762C #2E2C76 #762C74
monochromatic
#131D0B #31491B #4F762C #6DA33D #8BC25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F762C#FFFFFF#000000##FFFFFF
##4F762C1.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)
#7B6D24
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#507166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f762c;
/* rgb */ color: rgb(79, 118, 44);
/* oklch */ color: oklch(52.0% 0.112 132.5);
Tailwind
colors: {
  custom: {
    50: '#839d68',
    500: '#4f762c',
    950: '#000000',
  },
}
SCSS
$custom: #4f762c;
$custom-light: #839d68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f762c",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 44
  },
  "hsl": {
    "h": 91.622,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.11244,
    "h": 132.5
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#4F762C
secondary
#8156A7
accent
#52D597
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F762C

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

Preview Lab → · Contrast checker → · Palette generator →

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