#4C812E#4C812E

#4C812E is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.128 H 136.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4C812E
RGBrgb(76, 129, 46)
HSLhsl(98, 47%, 34%)
HSVhsv(98, 64%, 51%)
CMYKcmyk(41.1%, 0%, 64.3%, 49.4%)
CIE-LABlab(48.80, -33.29, 38.46)
CIE-LCHlch(48.80, 50.87, 130.88°)
OKLaboklab(54.74% -0.0923 0.0892)
OKLCHoklch(54.74% 0.128 136)
XYZxyz(11.3236, 17.4337, 5.3526)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C812E #632E81
analogous
#76812E #4C812E #2E8139
triadic
#4C812E #2E4C81 #812E4C
tetradic
#4C812E #2E7681 #632E81 #81392E
square
#4C812E #2E7681 #632E81 #81392E
split-complementary
#4C812E #392E81 #812E76
monochromatic
#17270E #31541E #4C812E #67AE3E #87C762

Accessibility & contrast

On white

4.68
#4C812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4C812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C812E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C812E#FFFFFF#000000##FFFFFF
##4C812E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#4A7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c812e;
/* rgb */ color: rgb(76, 129, 46);
/* oklch */ color: oklch(54.7% 0.128 136.0);
Tailwind
colors: {
  custom: {
    50: '#82a66a',
    500: '#4c812e',
    950: '#000000',
  },
}
SCSS
$custom: #4c812e;
$custom-light: #82a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c812e",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 98.313,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.12834,
    "h": 136
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#4C812E
secondary
#915DAE
accent
#51D7A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4C812E

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

Preview Lab → · Contrast checker → · Palette generator →

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