#4C7331#4C7331

#4C7331 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.105 H 134.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4C7331
RGBrgb(76, 115, 49)
HSLhsl(95, 40%, 32%)
HSVhsv(95, 57%, 45%)
CMYKcmyk(33.9%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.26, -26.36, 31.79)
CIE-LCHlch(44.26, 41.30, 129.67°)
OKLaboklab(51.05% -0.0731 0.0752)
OKLCHoklch(51.05% 0.105 134.2)
XYZxyz(9.6654, 14.0193, 5.1019)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7331 #583173
analogous
#6D7331 #4C7331 #317337
triadic
#4C7331 #314C73 #73314C
tetradic
#4C7331 #316D73 #583173 #733731
square
#4C7331 #316D73 #583173 #733731
split-complementary
#4C7331 #373173 #73316D
monochromatic
#131D0C #30481F #4C7331 #689E43 #87BC62

Accessibility & contrast

On white

5.52
#4C7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4C7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7331
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7331#FFFFFF#000000##FFFFFF
##4C73311.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2B
Deuteranopia (green-blind)
#726736
Tritanopia (blue-blind)
#4C6F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c7331;
/* rgb */ color: rgb(76, 115, 49);
/* oklch */ color: oklch(51.0% 0.105 134.2);
Tailwind
colors: {
  custom: {
    50: '#809b6b',
    500: '#4c7331',
    950: '#000000',
  },
}
SCSS
$custom: #4c7331;
$custom-light: #809b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7331",
  "rgb": {
    "r": 76,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 95.455,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51048,
    "c": 0.10485,
    "h": 134.2
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#4C7331
secondary
#865CA4
accent
#58D09F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4C7331

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

Preview Lab → · Contrast checker → · Palette generator →

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