#4C811B#4C811B

#4C811B 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#4C811B
RGBrgb(76, 129, 27)
HSLhsl(91, 65%, 31%)
HSVhsv(91, 79%, 51%)
CMYKcmyk(41.1%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.66, -34.81, 46.13)
CIE-LCHlch(48.66, 57.79, 127.04°)
OKLaboklab(54.57% -0.0979 0.1026)
OKLCHoklch(54.57% 0.142 133.6)
XYZxyz(11.0284, 17.3156, 3.7978)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C811B #501B81
analogous
#7F811B #4C811B #1B811D
triadic
#4C811B #1B4C81 #811B4C
tetradic
#4C811B #1B7F81 #501B81 #811D1B
square
#4C811B #1B7F81 #501B81 #811D1B
split-complementary
#4C811B #1D1B81 #811B7F
monochromatic
#101C06 #2E4E10 #4C811B #6AB426 #88D73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C811B#FFFFFF#000000##FFFFFF
##4C811B1.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)
#867602
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#4C7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c811b;
/* rgb */ color: rgb(76, 129, 27);
/* oklch */ color: oklch(54.6% 0.142 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a660',
    500: '#4c811b',
    950: '#000000',
  },
}
SCSS
$custom: #4c811b;
$custom-light: #83a660;
$custom-dark: #000000;
JSON
{
  "hex": "#4c811b",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 91.176,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.14181,
    "h": 133.6
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#4C811B
secondary
#7E43B5
accent
#3FE897
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4C811B

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

Preview Lab → · Contrast checker → · Palette generator →

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