#4C7411#4C7411

#4C7411 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.0% C 0.130 H 130.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4C7411
RGBrgb(76, 116, 17)
HSLhsl(84, 74%, 26%)
HSVhsv(84, 85%, 45%)
CMYKcmyk(34.5%, 0%, 85.3%, 54.5%)
CIE-LABlab(44.33, -29.42, 45.31)
CIE-LCHlch(44.33, 54.02, 122.99°)
OKLaboklab(51.02% -0.084 0.0992)
OKLCHoklch(51.02% 0.13 130.2)
XYZxyz(9.3270, 14.0674, 2.7541)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7411 #391174
analogous
#746A11 #4C7411 #1B7411
triadic
#4C7411 #114C74 #74114C
tetradic
#4C7411 #11746A #391174 #74111B
square
#4C7411 #11746A #391174 #74111B
split-complementary
#4C7411 #111B74 #6A1174
monochromatic
#111B04 #293F09 #4C7411 #6FA919 #92DE21

Accessibility & contrast

On white

5.51
#4C7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4C7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7411
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7411#FFFFFF#000000##FFFFFF
##4C74111.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#4E6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4c7411;
/* rgb */ color: rgb(76, 116, 17);
/* oklch */ color: oklch(51.0% 0.130 130.2);
Tailwind
colors: {
  custom: {
    50: '#829c5a',
    500: '#4c7411',
    950: '#000000',
  },
}
SCSS
$custom: #4c7411;
$custom-light: #829c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7411",
  "rgb": {
    "r": 76,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 84.242,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.13002,
    "h": 130.2
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#4C7411
secondary
#6536AB
accent
#37F182
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7411

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

Preview Lab → · Contrast checker → · Palette generator →

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