#4C861F#4C861F

#4C861F is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.146 H 134.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4C861F
RGBrgb(76, 134, 31)
HSLhsl(94, 62%, 32%)
HSVhsv(94, 77%, 53%)
CMYKcmyk(43.3%, 0%, 76.9%, 47.5%)
CIE-LABlab(50.32, -36.75, 46.32)
CIE-LCHlch(50.32, 59.13, 128.43°)
OKLaboklab(55.94% -0.1028 0.1036)
OKLCHoklch(55.94% 0.146 134.8)
XYZxyz(11.7527, 18.6850, 4.2834)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C861F #591F86
analogous
#80861F #4C861F #1F8625
triadic
#4C861F #1F4C86 #861F4C
tetradic
#4C861F #1F8086 #591F86 #86251F
square
#4C861F #1F8086 #591F86 #86251F
split-complementary
#4C861F #251F86 #861F80
monochromatic
#142308 #305414 #4C861F #68B82A #87D54A

Accessibility & contrast

On white

4.43
#4C861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4C861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C861F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C861F#FFFFFF#000000##000000
##4C861F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B09
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#4B8172
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c861f;
/* rgb */ color: rgb(76, 134, 31);
/* oklch */ color: oklch(55.9% 0.146 134.8);
Tailwind
colors: {
  custom: {
    50: '#83aa63',
    500: '#4c861f',
    950: '#000000',
  },
}
SCSS
$custom: #4c861f;
$custom-light: #83aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4c861f",
  "rgb": {
    "r": 76,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 93.786,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.14599,
    "h": 134.8
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#4C861F
secondary
#8749B8
accent
#42E59E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4C861F

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

Preview Lab → · Contrast checker → · Palette generator →

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