#4C741D#4C741D

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

Color values

HEX#4C741D
RGBrgb(76, 116, 29)
HSLhsl(88, 60%, 28%)
HSVhsv(88, 75%, 45%)
CMYKcmyk(34.5%, 0%, 75%, 54.5%)
CIE-LABlab(44.40, -28.72, 41.22)
CIE-LCHlch(44.40, 50.24, 124.87°)
OKLaboklab(51.1% -0.0812 0.0927)
OKLCHoklch(51.1% 0.123 131.2)
XYZxyz(9.4476, 14.1157, 3.3890)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C741D #451D74
analogous
#74701D #4C741D #20741D
triadic
#4C741D #1D4C74 #741D4C
tetradic
#4C741D #1D7470 #451D74 #741D20
square
#4C741D #1D7470 #451D74 #741D20
split-complementary
#4C741D #1D2074 #701D74
monochromatic
#101806 #2C4311 #4C741D #6CA529 #8CCE3D

Accessibility & contrast

On white

5.49
#4C741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C741D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C741D#FFFFFF#000000##FFFFFF
##4C741D1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0E
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#4D6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c741d;
/* rgb */ color: rgb(76, 116, 29);
/* oklch */ color: oklch(51.1% 0.123 131.2);
Tailwind
colors: {
  custom: {
    50: '#829c5f',
    500: '#4c741d',
    950: '#000000',
  },
}
SCSS
$custom: #4c741d;
$custom-light: #829c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c741d",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 87.586,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.12323,
    "h": 131.2
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#4C741D
secondary
#7245A8
accent
#45E38E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C741D

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

Preview Lab → · Contrast checker → · Palette generator →

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