#4F7232#4F7232

#4F7232 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.0% C 0.101 H 132.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4F7232
RGBrgb(79, 114, 50)
HSLhsl(93, 39%, 32%)
HSVhsv(93, 56%, 45%)
CMYKcmyk(30.7%, 0%, 56.1%, 55.3%)
CIE-LABlab(44.13, -24.58, 31.16)
CIE-LCHlch(44.13, 39.69, 128.26°)
OKLaboklab(50.99% -0.0682 0.0739)
OKLCHoklch(50.99% 0.101 132.7)
XYZxyz(9.8173, 13.9269, 5.1879)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7232 #553272
analogous
#6F7232 #4F7232 #327235
triadic
#4F7232 #324F72 #72324F
tetradic
#4F7232 #326F72 #553272 #723532
square
#4F7232 #326F72 #553272 #723532
split-complementary
#4F7232 #353272 #72326F
monochromatic
#141D0D #32471F #4F7232 #6C9D45 #8BBB64

Accessibility & contrast

On white

5.55
#4F7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4F7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7232
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7232#FFFFFF#000000##FFFFFF
##4F72321.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2C
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#506E64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7232;
/* rgb */ color: rgb(79, 114, 50);
/* oklch */ color: oklch(51.0% 0.101 132.7);
Tailwind
colors: {
  custom: {
    50: '#829a6c',
    500: '#4f7232',
    950: '#000000',
  },
}
SCSS
$custom: #4f7232;
$custom-light: #829a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7232",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 92.813,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.10057,
    "h": 132.7
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#4F7232
secondary
#835DA3
accent
#59CF99
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4F7232

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

Preview Lab → · Contrast checker → · Palette generator →

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