#4C791E#4C791E

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

Color values

HEX#4C791E
RGBrgb(76, 121, 30)
HSLhsl(90, 60%, 30%)
HSVhsv(90, 75%, 47%)
CMYKcmyk(37.2%, 0%, 75.2%, 52.5%)
CIE-LABlab(46.05, -31.00, 42.48)
CIE-LCHlch(46.05, 52.59, 126.12°)
OKLaboklab(52.45% -0.0873 0.0954)
OKLCHoklch(52.45% 0.129 132.5)
XYZxyz(10.0521, 15.3046, 3.6525)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C791E #4B1E79
analogous
#79791E #4C791E #1F791E
triadic
#4C791E #1E4C79 #791E4C
tetradic
#4C791E #1E7979 #4B1E79 #791E1F
square
#4C791E #1E7979 #4B1E79 #791E1F
split-complementary
#4C791E #1E1F79 #791E79
monochromatic
#0F1906 #2D4812 #4C791E #6BAA2A #89D041

Accessibility & contrast

On white

5.17
#4C791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C791E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C791E#FFFFFF#000000##FFFFFF
##4C791E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c791e;
/* rgb */ color: rgb(76, 121, 30);
/* oklch */ color: oklch(52.4% 0.129 132.5);
Tailwind
colors: {
  custom: {
    50: '#82a060',
    500: '#4c791e',
    950: '#000000',
  },
}
SCSS
$custom: #4c791e;
$custom-light: #82a060;
$custom-dark: #000000;
JSON
{
  "hex": "#4c791e",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 89.67,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.12937,
    "h": 132.5
  },
  "luminance": 0.15305
}

Semantic roles & 50–950 ramp

primary
#4C791E
secondary
#7946AD
accent
#44E393
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C791E

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

Preview Lab → · Contrast checker → · Palette generator →

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