#4C7E11#4C7E11

#4C7E11 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.7% C 0.143 H 132.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4C7E11
RGBrgb(76, 126, 17)
HSLhsl(88, 76%, 28%)
HSVhsv(88, 87%, 49%)
CMYKcmyk(39.7%, 0%, 86.5%, 50.6%)
CIE-LABlab(47.62, -33.99, 48.24)
CIE-LCHlch(47.62, 59.01, 125.17°)
OKLaboklab(53.71% -0.0963 0.1055)
OKLCHoklch(53.71% 0.143 132.4)
XYZxyz(10.5424, 16.4982, 3.1592)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E11 #43117E
analogous
#7E7911 #4C7E11 #157E11
triadic
#4C7E11 #114C7E #7E114C
tetradic
#4C7E11 #117E79 #43117E #7E1115
square
#4C7E11 #117E79 #43117E #7E1115
split-complementary
#4C7E11 #11157E #79117E
monochromatic
#101B04 #2B480A #4C7E11 #6DB418 #8CE227

Accessibility & contrast

On white

4.88
#4C7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4C7E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7E11
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7E11#FFFFFF#000000##FFFFFF
##4C7E111.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#4D786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c7e11;
/* rgb */ color: rgb(76, 126, 17);
/* oklch */ color: oklch(53.7% 0.143 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a45b',
    500: '#4c7e11',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e11;
$custom-light: #83a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e11",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 87.523,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.14282,
    "h": 132.4
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#4C7E11
secondary
#7037B4
accent
#35F38C
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4C7E11

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

Preview Lab → · Contrast checker → · Palette generator →

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