#4C7719#4C7719

#4C7719 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.9% C 0.130 H 131.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4C7719
RGBrgb(76, 119, 25)
HSLhsl(87, 65%, 28%)
HSVhsv(87, 79%, 47%)
CMYKcmyk(36.1%, 0%, 79%, 53.3%)
CIE-LABlab(45.36, -30.40, 43.67)
CIE-LCHlch(45.36, 53.21, 124.84°)
OKLaboklab(51.87% -0.0861 0.0971)
OKLCHoklch(51.87% 0.13 131.6)
XYZxyz(9.7527, 14.8000, 3.2623)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7719 #441977
analogous
#777319 #4C7719 #1D7719
triadic
#4C7719 #194C77 #77194C
tetradic
#4C7719 #197773 #441977 #77191D
square
#4C7719 #197773 #441977 #77191D
split-complementary
#4C7719 #191D77 #731977
monochromatic
#101905 #2C440E #4C7719 #6CAA24 #8CD536

Accessibility & contrast

On white

5.30
#4C7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4C7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7719
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7719#FFFFFF#000000##FFFFFF
##4C77191.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D04
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#4D7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4c7719;
/* rgb */ color: rgb(76, 119, 25);
/* oklch */ color: oklch(51.9% 0.130 131.6);
Tailwind
colors: {
  custom: {
    50: '#829e5e',
    500: '#4c7719',
    950: '#000000',
  },
}
SCSS
$custom: #4c7719;
$custom-light: #829e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7719",
  "rgb": {
    "r": 76,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 87.447,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.12981,
    "h": 131.6
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#4C7719
secondary
#7140AC
accent
#40E88D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7719

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

Preview Lab → · Contrast checker → · Palette generator →

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