#4C7919#4C7919

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

Color values

HEX#4C7919
RGBrgb(76, 121, 25)
HSLhsl(88, 66%, 29%)
HSVhsv(88, 79%, 47%)
CMYKcmyk(37.2%, 0%, 79.3%, 52.5%)
CIE-LABlab(46.02, -31.32, 44.30)
CIE-LCHlch(46.02, 54.26, 125.26°)
OKLaboklab(52.41% -0.0886 0.0985)
OKLCHoklch(52.41% 0.132 132)
XYZxyz(9.9932, 15.2810, 3.3425)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7919 #461979
analogous
#797619 #4C7919 #1C7919
triadic
#4C7919 #194C79 #79194C
tetradic
#4C7919 #197976 #461979 #79191C
square
#4C7919 #197976 #461979 #79191C
split-complementary
#4C7919 #191C79 #761979
monochromatic
#101905 #2C460F #4C7919 #6CAC23 #8BD637

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C7919#FFFFFF#000000##FFFFFF
##4C79191.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)
#7E6F02
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#4D7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c7919;
/* rgb */ color: rgb(76, 121, 25);
/* oklch */ color: oklch(52.4% 0.132 132.0);
Tailwind
colors: {
  custom: {
    50: '#82a05e',
    500: '#4c7919',
    950: '#000000',
  },
}
SCSS
$custom: #4c7919;
$custom-light: #82a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7919",
  "rgb": {
    "r": 76,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 88.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.13246,
    "h": 132
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#4C7919
secondary
#7340AE
accent
#3FE98F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7919

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

Preview Lab → · Contrast checker → · Palette generator →

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