#4C7511#4C7511

#4C7511 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.131 H 130.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4C7511
RGBrgb(76, 117, 17)
HSLhsl(85, 75%, 26%)
HSVhsv(85, 85%, 46%)
CMYKcmyk(35%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.66, -29.89, 45.60)
CIE-LCHlch(44.66, 54.52, 123.24°)
OKLaboklab(51.29% -0.0853 0.0999)
OKLCHoklch(51.29% 0.131 130.5)
XYZxyz(9.4429, 14.2992, 2.7927)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7511 #3A1175
analogous
#756C11 #4C7511 #1A7511
triadic
#4C7511 #114C75 #75114C
tetradic
#4C7511 #11756C #3A1175 #75111A
square
#4C7511 #11756C #3A1175 #75111A
split-complementary
#4C7511 #111A75 #6C1175
monochromatic
#111B04 #294009 #4C7511 #6FAA19 #91DF22

Accessibility & contrast

On white

5.44
#4C7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4C7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7511
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7511#FFFFFF#000000##FFFFFF
##4C75111.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#4E7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4c7511;
/* rgb */ color: rgb(76, 117, 17);
/* oklch */ color: oklch(51.3% 0.131 130.5);
Tailwind
colors: {
  custom: {
    50: '#829d5a',
    500: '#4c7511',
    950: '#000000',
  },
}
SCSS
$custom: #4c7511;
$custom-light: #829d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7511",
  "rgb": {
    "r": 76,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 84.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.5129,
    "c": 0.13133,
    "h": 130.5
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#4C7511
secondary
#6636AC
accent
#37F183
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4C7511

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

Preview Lab → · Contrast checker → · Palette generator →

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