#4C741A#4C741A

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

Color values

HEX#4C741A
RGBrgb(76, 116, 26)
HSLhsl(87, 63%, 28%)
HSVhsv(87, 78%, 45%)
CMYKcmyk(34.5%, 0%, 77.6%, 54.5%)
CIE-LABlab(44.38, -28.93, 42.36)
CIE-LCHlch(44.38, 51.29, 124.33°)
OKLaboklab(51.08% -0.082 0.0946)
OKLCHoklch(51.08% 0.125 130.9)
XYZxyz(9.4123, 14.1015, 3.2030)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C741A #421A74
analogous
#746F1A #4C741A #1F741A
triadic
#4C741A #1A4C74 #741A4C
tetradic
#4C741A #1A746F #421A74 #741A1F
square
#4C741A #1A746F #421A74 #741A1F
split-complementary
#4C741A #1A1F74 #6F1A74
monochromatic
#101906 #2B420F #4C741A #6DA625 #8DD236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C741A#FFFFFF#000000##FFFFFF
##4C741A1.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)
#796B07
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#4E6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c741a;
/* rgb */ color: rgb(76, 116, 26);
/* oklch */ color: oklch(51.1% 0.125 130.9);
Tailwind
colors: {
  custom: {
    50: '#829c5e',
    500: '#4c741a',
    950: '#000000',
  },
}
SCSS
$custom: #4c741a;
$custom-light: #829c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c741a",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 86.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.12518,
    "h": 130.9
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#4C741A
secondary
#6F41A9
accent
#41E68B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C741A

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

Preview Lab → · Contrast checker → · Palette generator →

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