#4F7331#4F7331

#4F7331 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.2% C 0.103 H 132.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4F7331
RGBrgb(79, 115, 49)
HSLhsl(93, 40%, 32%)
HSVhsv(93, 57%, 45%)
CMYKcmyk(31.3%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.44, -25.19, 32.05)
CIE-LCHlch(44.44, 40.77, 128.17°)
OKLaboklab(51.24% -0.07 0.0757)
OKLCHoklch(51.24% 0.103 132.8)
XYZxyz(9.9094, 14.1452, 5.1133)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7331 #553173
analogous
#707331 #4F7331 #317334
triadic
#4F7331 #314F73 #73314F
tetradic
#4F7331 #317073 #553173 #733431
square
#4F7331 #317073 #553173 #733431
split-complementary
#4F7331 #343173 #733170
monochromatic
#141D0C #32481F #4F7331 #6C9E43 #8BBC62

Accessibility & contrast

On white

5.48
#4F7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4F7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7331
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7331#FFFFFF#000000##FFFFFF
##4F73311.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2B
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#506F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7331;
/* rgb */ color: rgb(79, 115, 49);
/* oklch */ color: oklch(51.2% 0.103 132.8);
Tailwind
colors: {
  custom: {
    50: '#839b6b',
    500: '#4f7331',
    950: '#000000',
  },
}
SCSS
$custom: #4f7331;
$custom-light: #839b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7331",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 92.727,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.10313,
    "h": 132.8
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#4F7331
secondary
#835CA4
accent
#58D099
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4F7331

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

Preview Lab → · Contrast checker → · Palette generator →

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