#4C811E#4C811E

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

Color values

HEX#4C811E
RGBrgb(76, 129, 30)
HSLhsl(92, 62%, 31%)
HSVhsv(92, 77%, 51%)
CMYKcmyk(41.1%, 0%, 76.7%, 49.4%)
CIE-LABlab(48.67, -34.62, 45.07)
CIE-LCHlch(48.67, 56.84, 127.53°)
OKLaboklab(54.59% -0.0971 0.1009)
OKLCHoklch(54.59% 0.14 133.9)
XYZxyz(11.0649, 17.3302, 3.9901)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C811E #531E81
analogous
#7D811E #4C811E #1E8121
triadic
#4C811E #1E4C81 #811E4C
tetradic
#4C811E #1E7D81 #531E81 #81211E
square
#4C811E #1E7D81 #531E81 #81211E
split-complementary
#4C811E #211E81 #811E7D
monochromatic
#111E07 #2F4F12 #4C811E #69B32A #88D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C811E#FFFFFF#000000##FFFFFF
##4C811E1.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)
#867609
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#4C7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c811e;
/* rgb */ color: rgb(76, 129, 30);
/* oklch */ color: oklch(54.6% 0.140 133.9);
Tailwind
colors: {
  custom: {
    50: '#83a661',
    500: '#4c811e',
    950: '#000000',
  },
}
SCSS
$custom: #4c811e;
$custom-light: #83a661;
$custom-dark: #000000;
JSON
{
  "hex": "#4c811e",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 92.121,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.14005,
    "h": 133.9
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#4C811E
secondary
#8147B4
accent
#42E59A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4C811E

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

Preview Lab → · Contrast checker → · Palette generator →

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