#4C741C#4C741C

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

Color values

HEX#4C741C
RGBrgb(76, 116, 28)
HSLhsl(87, 61%, 28%)
HSVhsv(87, 76%, 45%)
CMYKcmyk(34.5%, 0%, 75.9%, 54.5%)
CIE-LABlab(44.39, -28.79, 41.61)
CIE-LCHlch(44.39, 50.60, 124.68°)
OKLaboklab(51.09% -0.0815 0.0933)
OKLCHoklch(51.09% 0.124 131.1)
XYZxyz(9.4354, 14.1108, 3.3249)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C741C #441C74
analogous
#74701C #4C741C #20741C
triadic
#4C741C #1C4C74 #741C4C
tetradic
#4C741C #1C7470 #441C74 #741C20
square
#4C741C #1C7470 #441C74 #741C20
split-complementary
#4C741C #1C2074 #701C74
monochromatic
#101906 #2C4310 #4C741C #6CA528 #8CD03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C741C#FFFFFF#000000##FFFFFF
##4C741C1.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)
#796B0C
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#4E6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c741c;
/* rgb */ color: rgb(76, 116, 28);
/* oklch */ color: oklch(51.1% 0.124 131.1);
Tailwind
colors: {
  custom: {
    50: '#829c5f',
    500: '#4c741c',
    950: '#000000',
  },
}
SCSS
$custom: #4c741c;
$custom-light: #829c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c741c",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 87.273,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.1239,
    "h": 131.1
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#4C741C
secondary
#7143A8
accent
#44E48D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4C741C

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

Preview Lab → · Contrast checker → · Palette generator →

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