#4C792B#4C792B

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

Color values

HEX#4C792B
RGBrgb(76, 121, 43)
HSLhsl(95, 48%, 32%)
HSVhsv(95, 64%, 47%)
CMYKcmyk(37.2%, 0%, 64.5%, 52.5%)
CIE-LABlab(46.16, -29.90, 36.94)
CIE-LCHlch(46.16, 47.52, 128.99°)
OKLaboklab(52.57% -0.0832 0.0856)
OKLCHoklch(52.57% 0.119 134.2)
XYZxyz(10.2537, 15.3852, 4.7144)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C792B #582B79
analogous
#73792B #4C792B #2B7931
triadic
#4C792B #2B4C79 #792B4C
tetradic
#4C792B #2B7379 #582B79 #79312B
square
#4C792B #2B7379 #582B79 #79312B
split-complementary
#4C792B #312B79 #792B73
monochromatic
#131F0B #304C1B #4C792B #68A63B #87C45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C792B#FFFFFF#000000##FFFFFF
##4C792B1.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)
#7E7022
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#4C7469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c792b;
/* rgb */ color: rgb(76, 121, 43);
/* oklch */ color: oklch(52.6% 0.119 134.2);
Tailwind
colors: {
  custom: {
    50: '#81a068',
    500: '#4c792b',
    950: '#000000',
  },
}
SCSS
$custom: #4c792b;
$custom-light: #81a068;
$custom-dark: #000000;
JSON
{
  "hex": "#4c792b",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 94.615,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52571,
    "c": 0.11941,
    "h": 134.2
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#4C792B
secondary
#8656AA
accent
#51D79E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4C792B

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

Preview Lab → · Contrast checker → · Palette generator →

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