#4C862C#4C862C

#4C862C is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.137 H 136.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4C862C
RGBrgb(76, 134, 44)
HSLhsl(99, 51%, 35%)
HSVhsv(99, 67%, 53%)
CMYKcmyk(43.3%, 0%, 67.2%, 47.5%)
CIE-LABlab(50.41, -35.72, 41.14)
CIE-LCHlch(50.41, 54.48, 130.96°)
OKLaboklab(56.05% -0.099 0.0946)
OKLCHoklch(56.05% 0.137 136.3)
XYZxyz(11.9599, 18.7679, 5.3748)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C862C #662C86
analogous
#79862C #4C862C #2C8639
triadic
#4C862C #2C4C86 #862C4C
tetradic
#4C862C #2C7986 #662C86 #86392C
square
#4C862C #2C7986 #662C86 #86392C
split-complementary
#4C862C #392C86 #862C79
monochromatic
#182A0E #32581D #4C862C #66B43B #87CB61

Accessibility & contrast

On white

4.42
#4C862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4C862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C862C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C862C#FFFFFF#000000##000000
##4C862C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#4A8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c862c;
/* rgb */ color: rgb(76, 134, 44);
/* oklch */ color: oklch(56.1% 0.137 136.3);
Tailwind
colors: {
  custom: {
    50: '#83aa6a',
    500: '#4c862c',
    950: '#000000',
  },
}
SCSS
$custom: #4c862c;
$custom-light: #83aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c862c",
  "rgb": {
    "r": 76,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 98.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.13699,
    "h": 136.3
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#4C862C
secondary
#935CB1
accent
#4EDAA8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C862C

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

Preview Lab → · Contrast checker → · Palette generator →

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