#4C7121#4C7121

#4C7121 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.3% C 0.116 H 131.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4C7121
RGBrgb(76, 113, 33)
HSLhsl(88, 55%, 29%)
HSVhsv(88, 71%, 44%)
CMYKcmyk(32.7%, 0%, 70.8%, 55.7%)
CIE-LABlab(43.44, -26.98, 38.58)
CIE-LCHlch(43.44, 47.07, 124.97°)
OKLaboklab(50.33% -0.0761 0.0877)
OKLCHoklch(50.33% 0.116 131)
XYZxyz(9.1600, 13.4563, 3.5532)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7121 #462171
analogous
#716E21 #4C7121 #247121
triadic
#4C7121 #214C71 #71214C
tetradic
#4C7121 #21716E #462171 #712124
square
#4C7121 #21716E #462171 #712124
split-complementary
#4C7121 #212471 #6E2171
monochromatic
#101807 #2C4213 #4C7121 #6CA02F #8BC844

Accessibility & contrast

On white

5.69
#4C7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4C7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7121
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7121#FFFFFF#000000##FFFFFF
##4C71211.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766816
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#4E6C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4c7121;
/* rgb */ color: rgb(76, 113, 33);
/* oklch */ color: oklch(50.3% 0.116 131.0);
Tailwind
colors: {
  custom: {
    50: '#819a61',
    500: '#4c7121',
    950: '#000000',
  },
}
SCSS
$custom: #4c7121;
$custom-light: #819a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7121",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 87.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.11616,
    "h": 131
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#4C7121
secondary
#7349A5
accent
#4ADE8E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7121

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

Preview Lab → · Contrast checker → · Palette generator →

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