#4C811A#4C811A

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

Color values

HEX#4C811A
RGBrgb(76, 129, 26)
HSLhsl(91, 66%, 30%)
HSVhsv(91, 80%, 51%)
CMYKcmyk(41.1%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.65, -34.87, 46.46)
CIE-LCHlch(48.65, 58.10, 126.89°)
OKLaboklab(54.57% -0.0981 0.1032)
OKLCHoklch(54.57% 0.142 133.6)
XYZxyz(11.0170, 17.3110, 3.7380)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C811A #4F1A81
analogous
#7F811A #4C811A #1A811B
triadic
#4C811A #1A4C81 #811A4C
tetradic
#4C811A #1A7F81 #4F1A81 #811B1A
square
#4C811A #1A7F81 #4F1A81 #811B1A
split-complementary
#4C811A #1B1A81 #811A7F
monochromatic
#101B05 #2E4E10 #4C811A #6AB424 #88D83D

Accessibility & contrast

On white

4.71
#4C811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C811A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C811A#FFFFFF#000000##FFFFFF
##4C811A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c811a;
/* rgb */ color: rgb(76, 129, 26);
/* oklch */ color: oklch(54.6% 0.142 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a660',
    500: '#4c811a',
    950: '#000000',
  },
}
SCSS
$custom: #4c811a;
$custom-light: #83a660;
$custom-dark: #000000;
JSON
{
  "hex": "#4c811a",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 90.874,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.14236,
    "h": 133.6
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#4C811A
secondary
#7D42B5
accent
#3EE996
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C811A

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

Preview Lab → · Contrast checker → · Palette generator →

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