#4C862E#4C862E

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

Color values

HEX#4C862E
RGBrgb(76, 134, 46)
HSLhsl(100, 49%, 35%)
HSVhsv(100, 66%, 53%)
CMYKcmyk(43.3%, 0%, 65.7%, 47.5%)
CIE-LABlab(50.43, -35.53, 40.26)
CIE-LCHlch(50.43, 53.69, 131.43°)
OKLaboklab(56.07% -0.0984 0.093)
OKLCHoklch(56.07% 0.135 136.6)
XYZxyz(11.9984, 18.7833, 5.5776)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C862E #682E86
analogous
#78862E #4C862E #2E863C
triadic
#4C862E #2E4C86 #862E4C
tetradic
#4C862E #2E7886 #682E86 #863C2E
square
#4C862E #2E7886 #682E86 #863C2E
split-complementary
#4C862E #3C2E86 #862E78
monochromatic
#182B0F #32581E #4C862E #66B43E #87CA64

Accessibility & contrast

On white

4.41
#4C862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4C862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C862E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C862E#FFFFFF#000000##000000
##4C862E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B23
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#4A8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c862e;
/* rgb */ color: rgb(76, 134, 46);
/* oklch */ color: oklch(56.1% 0.135 136.6);
Tailwind
colors: {
  custom: {
    50: '#83aa6b',
    500: '#4c862e',
    950: '#000000',
  },
}
SCSS
$custom: #4c862e;
$custom-light: #83aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c862e",
  "rgb": {
    "r": 76,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 99.545,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.13539,
    "h": 136.6
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#4C862E
secondary
#955FB1
accent
#4FD8AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4C862E

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

Preview Lab → · Contrast checker → · Palette generator →

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