#4C811D#4C811D

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

Color values

HEX#4C811D
RGBrgb(76, 129, 29)
HSLhsl(92, 63%, 31%)
HSVhsv(92, 78%, 51%)
CMYKcmyk(41.1%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.67, -34.69, 45.43)
CIE-LCHlch(48.67, 57.16, 127.36°)
OKLaboklab(54.59% -0.0974 0.1015)
OKLCHoklch(54.59% 0.141 133.8)
XYZxyz(11.0523, 17.3252, 3.9239)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C811D #521D81
analogous
#7E811D #4C811D #1D8120
triadic
#4C811D #1D4C81 #811D4C
tetradic
#4C811D #1D7E81 #521D81 #81201D
square
#4C811D #1D7E81 #521D81 #81201D
split-complementary
#4C811D #201D81 #811D7E
monochromatic
#111D07 #2F4F12 #4C811D #69B328 #88D544

Accessibility & contrast

On white

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

On black

4.47
#4C811D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4C811D#FFFFFF#000000##FFFFFF
##4C811D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c811d;
/* rgb */ color: rgb(76, 129, 29);
/* oklch */ color: oklch(54.6% 0.141 133.8);
Tailwind
colors: {
  custom: {
    50: '#83a661',
    500: '#4c811d',
    950: '#000000',
  },
}
SCSS
$custom: #4c811d;
$custom-light: #83a661;
$custom-dark: #000000;
JSON
{
  "hex": "#4c811d",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 91.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.14065,
    "h": 133.8
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#4C811D
secondary
#8046B4
accent
#41E699
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C811D

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

Preview Lab → · Contrast checker → · Palette generator →

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