#4F712F#4F712F

#4F712F is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.102 H 131.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4F712F
RGBrgb(79, 113, 47)
HSLhsl(91, 41%, 31%)
HSVhsv(91, 58%, 44%)
CMYKcmyk(30.1%, 0%, 58.4%, 55.7%)
CIE-LABlab(43.77, -24.42, 32.29)
CIE-LCHlch(43.77, 40.49, 127.10°)
OKLaboklab(50.69% -0.068 0.0761)
OKLCHoklch(50.69% 0.102 131.8)
XYZxyz(9.6425, 13.6775, 4.8207)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F712F #512F71
analogous
#70712F #4F712F #2F7130
triadic
#4F712F #2F4F71 #712F4F
tetradic
#4F712F #2F7071 #512F71 #71302F
square
#4F712F #2F7071 #512F71 #71302F
split-complementary
#4F712F #302F71 #712F70
monochromatic
#131B0B #31461D #4F712F #6D9C41 #8CBC5E

Accessibility & contrast

On white

5.62
#4F712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4F712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F712F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F712F#FFFFFF#000000##FFFFFF
##4F712F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766928
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#506D62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f712f;
/* rgb */ color: rgb(79, 113, 47);
/* oklch */ color: oklch(50.7% 0.102 131.8);
Tailwind
colors: {
  custom: {
    50: '#829a6a',
    500: '#4f712f',
    950: '#000000',
  },
}
SCSS
$custom: #4f712f;
$custom-light: #829a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f712f",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 90.909,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.10206,
    "h": 131.8
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#4F712F
secondary
#7F5AA2
accent
#57D196
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F712F

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

Preview Lab → · Contrast checker → · Palette generator →

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