#4C5E11#4C5E11

#4C5E11 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.1% C 0.101 H 122.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4C5E11
RGBrgb(76, 94, 17)
HSLhsl(74, 69%, 22%)
HSVhsv(74, 82%, 37%)
CMYKcmyk(19.1%, 0%, 81.9%, 63.1%)
CIE-LABlab(37.08, -18.38, 38.69)
CIE-LCHlch(37.08, 42.84, 115.41°)
OKLaboklab(45.14% -0.0541 0.0853)
OKLCHoklch(45.14% 0.101 122.4)
XYZxyz(7.0845, 9.5824, 2.0066)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5E11 #23115E
analogous
#5E4A11 #4C5E11 #265E11
triadic
#4C5E11 #114C5E #5E114C
tetradic
#4C5E11 #115E4A #23115E #5E1126
square
#4C5E11 #115E4A #23115E #5E1126
split-complementary
#4C5E11 #11265E #4A115E
monochromatic
#151A05 #222A08 #4C5E11 #76921A #A0C624

Accessibility & contrast

On white

7.20
#4C5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4C5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5E11
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5E11#FFFFFF#000000##FFFFFF
##4C5E111.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645801
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#505950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c5e11;
/* rgb */ color: rgb(76, 94, 17);
/* oklch */ color: oklch(45.1% 0.101 122.4);
Tailwind
colors: {
  custom: {
    50: '#818b56',
    500: '#4c5e11',
    950: '#000000',
  },
}
SCSS
$custom: #4c5e11;
$custom-light: #818b56;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5e11",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 74.026,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45135,
    "c": 0.10096,
    "h": 122.4
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#4C5E11
secondary
#4B3497
accent
#3CEC65
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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