#4C7419#4C7419

#4C7419 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.126 H 130.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C7419
RGBrgb(76, 116, 25)
HSLhsl(86, 65%, 28%)
HSVhsv(86, 78%, 45%)
CMYKcmyk(34.5%, 0%, 78.4%, 54.5%)
CIE-LABlab(44.37, -28.99, 42.72)
CIE-LCHlch(44.37, 51.63, 124.16°)
OKLaboklab(51.07% -0.0823 0.0952)
OKLCHoklch(51.07% 0.126 130.9)
XYZxyz(9.4013, 14.0971, 3.1452)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7419 #411974
analogous
#746F19 #4C7419 #1E7419
triadic
#4C7419 #194C74 #74194C
tetradic
#4C7419 #19746F #411974 #74191E
square
#4C7419 #19746F #411974 #74191E
split-complementary
#4C7419 #191E74 #6F1974
monochromatic
#101905 #2B420E #4C7419 #6DA624 #8DD334

Accessibility & contrast

On white

5.50
#4C7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4C7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7419
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7419#FFFFFF#000000##FFFFFF
##4C74191.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B05
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#4E6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c7419;
/* rgb */ color: rgb(76, 116, 25);
/* oklch */ color: oklch(51.1% 0.126 130.9);
Tailwind
colors: {
  custom: {
    50: '#829c5d',
    500: '#4c7419',
    950: '#000000',
  },
}
SCSS
$custom: #4c7419;
$custom-light: #829c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7419",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 86.374,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.12579,
    "h": 130.9
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#4C7419
secondary
#6E40A9
accent
#40E88A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C7419

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

Preview Lab → · Contrast checker → · Palette generator →

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