#4C792C#4C792C

#4C792C is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.6% C 0.119 H 134.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4C792C
RGBrgb(76, 121, 44)
HSLhsl(95, 47%, 32%)
HSVhsv(95, 64%, 47%)
CMYKcmyk(37.2%, 0%, 63.6%, 52.5%)
CIE-LABlab(46.17, -29.80, 36.47)
CIE-LCHlch(46.17, 47.10, 129.25°)
OKLaboklab(52.58% -0.0829 0.0847)
OKLCHoklch(52.58% 0.119 134.4)
XYZxyz(10.2723, 15.3926, 4.8122)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C792C #592C79
analogous
#73792C #4C792C #2C7932
triadic
#4C792C #2C4C79 #792C4C
tetradic
#4C792C #2C7379 #592C79 #79322C
square
#4C792C #2C7379 #592C79 #79322C
split-complementary
#4C792C #322C79 #792C73
monochromatic
#141F0B #304C1C #4C792C #68A63C #87C45C

Accessibility & contrast

On white

5.15
#4C792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#4C792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C792C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C792C#FFFFFF#000000##FFFFFF
##4C792C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#4C7469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c792c;
/* rgb */ color: rgb(76, 121, 44);
/* oklch */ color: oklch(52.6% 0.119 134.4);
Tailwind
colors: {
  custom: {
    50: '#81a068',
    500: '#4c792c',
    950: '#000000',
  },
}
SCSS
$custom: #4c792c;
$custom-light: #81a068;
$custom-dark: #000000;
JSON
{
  "hex": "#4c792c",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 95.065,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.11854,
    "h": 134.4
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#4C792C
secondary
#8757AA
accent
#51D69F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4C792C

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

Preview Lab → · Contrast checker → · Palette generator →

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