#4C7232#4C7232

#4C7232 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.102 H 134.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4C7232
RGBrgb(76, 114, 50)
HSLhsl(96, 39%, 32%)
HSVhsv(96, 56%, 45%)
CMYKcmyk(33.3%, 0%, 56.1%, 55.3%)
CIE-LABlab(43.95, -25.75, 30.90)
CIE-LCHlch(43.95, 40.23, 129.81°)
OKLaboklab(50.8% -0.0713 0.0734)
OKLCHoklch(50.8% 0.102 134.2)
XYZxyz(9.5733, 13.8011, 5.1765)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7232 #583272
analogous
#6C7232 #4C7232 #327238
triadic
#4C7232 #324C72 #72324C
tetradic
#4C7232 #326C72 #583272 #723832
square
#4C7232 #326C72 #583272 #723832
split-complementary
#4C7232 #383272 #72326C
monochromatic
#131D0D #30471F #4C7232 #689D45 #87BB64

Accessibility & contrast

On white

5.58
#4C7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4C7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7232
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7232#FFFFFF#000000##FFFFFF
##4C72321.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c7232;
/* rgb */ color: rgb(76, 114, 50);
/* oklch */ color: oklch(50.8% 0.102 134.2);
Tailwind
colors: {
  custom: {
    50: '#809b6c',
    500: '#4c7232',
    950: '#000000',
  },
}
SCSS
$custom: #4c7232;
$custom-light: #809b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7232",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 95.625,
    "s": 39.024,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50796,
    "c": 0.10229,
    "h": 134.2
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#4C7232
secondary
#865DA3
accent
#59CF9F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4C7232

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

Preview Lab → · Contrast checker → · Palette generator →

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