#4C791A#4C791A

#4C791A is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.4% C 0.132 H 132.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4C791A
RGBrgb(76, 121, 26)
HSLhsl(88, 65%, 29%)
HSVhsv(88, 79%, 47%)
CMYKcmyk(37.2%, 0%, 78.5%, 52.5%)
CIE-LABlab(46.02, -31.26, 43.95)
CIE-LCHlch(46.02, 53.94, 125.42°)
OKLaboklab(52.42% -0.0884 0.0979)
OKLCHoklch(52.42% 0.132 132.1)
XYZxyz(10.0042, 15.2854, 3.4003)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C791A #471A79
analogous
#79771A #4C791A #1D791A
triadic
#4C791A #1A4C79 #791A4C
tetradic
#4C791A #1A7977 #471A79 #791A1D
square
#4C791A #1A7977 #471A79 #791A1D
split-complementary
#4C791A #1A1D79 #771A79
monochromatic
#101905 #2C470F #4C791A #6CAB25 #8BD439

Accessibility & contrast

On white

5.18
#4C791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4C791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C791A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C791A#FFFFFF#000000##FFFFFF
##4C791A1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F05
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#4D7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c791a;
/* rgb */ color: rgb(76, 121, 26);
/* oklch */ color: oklch(52.4% 0.132 132.1);
Tailwind
colors: {
  custom: {
    50: '#82a05e',
    500: '#4c791a',
    950: '#000000',
  },
}
SCSS
$custom: #4c791a;
$custom-light: #82a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c791a",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 88.421,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.13187,
    "h": 132.1
  },
  "luminance": 0.15286
}

Semantic roles & 50–950 ramp

primary
#4C791A
secondary
#7541AD
accent
#40E88F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C791A

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

Preview Lab → · Contrast checker → · Palette generator →

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