#4C7119#4C7119

#4C7119 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.122 H 130.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4C7119
RGBrgb(76, 113, 25)
HSLhsl(85, 64%, 27%)
HSVhsv(85, 78%, 44%)
CMYKcmyk(32.7%, 0%, 77.9%, 55.7%)
CIE-LABlab(43.38, -27.56, 41.77)
CIE-LCHlch(43.38, 50.04, 123.42°)
OKLaboklab(50.26% -0.0784 0.0932)
OKLCHoklch(50.26% 0.122 130.1)
XYZxyz(9.0610, 13.4167, 3.0318)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7119 #3E1971
analogous
#716A19 #4C7119 #207119
triadic
#4C7119 #194C71 #71194C
tetradic
#4C7119 #19716A #3E1971 #711920
square
#4C7119 #19716A #3E1971 #711920
split-complementary
#4C7119 #192071 #6A1971
monochromatic
#111906 #2A3F0E #4C7119 #6EA324 #8FD233

Accessibility & contrast

On white

5.70
#4C7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4C7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7119
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7119#FFFFFF#000000##FFFFFF
##4C71191.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776807
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#4E6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c7119;
/* rgb */ color: rgb(76, 113, 25);
/* oklch */ color: oklch(50.3% 0.122 130.1);
Tailwind
colors: {
  custom: {
    50: '#829a5d',
    500: '#4c7119',
    950: '#000000',
  },
}
SCSS
$custom: #4c7119;
$custom-light: #829a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7119",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 85.227,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50264,
    "c": 0.12175,
    "h": 130.1
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#4C7119
secondary
#6B40A6
accent
#41E787
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7119

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

Preview Lab → · Contrast checker → · Palette generator →

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