#4C811C#4C811C

#4C811C is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.141 H 133.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4C811C
RGBrgb(76, 129, 28)
HSLhsl(91, 64%, 31%)
HSVhsv(91, 78%, 51%)
CMYKcmyk(41.1%, 0%, 78.3%, 49.4%)
CIE-LABlab(48.66, -34.75, 45.78)
CIE-LCHlch(48.66, 57.48, 127.20°)
OKLaboklab(54.58% -0.0976 0.1021)
OKLCHoklch(54.58% 0.141 133.7)
XYZxyz(11.0402, 17.3203, 3.8598)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C811C #511C81
analogous
#7E811C #4C811C #1C811E
triadic
#4C811C #1C4C81 #811C4C
tetradic
#4C811C #1C7E81 #511C81 #811E1C
square
#4C811C #1C7E81 #511C81 #811E1C
split-complementary
#4C811C #1E1C81 #811C7E
monochromatic
#111C06 #2E4F11 #4C811C #6AB327 #88D642

Accessibility & contrast

On white

4.70
#4C811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4C811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C811C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C811C#FFFFFF#000000##FFFFFF
##4C811C1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#4C7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c811c;
/* rgb */ color: rgb(76, 129, 28);
/* oklch */ color: oklch(54.6% 0.141 133.7);
Tailwind
colors: {
  custom: {
    50: '#83a660',
    500: '#4c811c',
    950: '#000000',
  },
}
SCSS
$custom: #4c811c;
$custom-light: #83a660;
$custom-dark: #000000;
JSON
{
  "hex": "#4c811c",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 91.485,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.14124,
    "h": 133.7
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#4C811C
secondary
#7F44B4
accent
#40E798
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C811C

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

Preview Lab → · Contrast checker → · Palette generator →

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