#4E812E#4E812E

#4E812E is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.127 H 135.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E812E
RGBrgb(78, 129, 46)
HSLhsl(97, 47%, 34%)
HSVhsv(97, 64%, 51%)
CMYKcmyk(39.5%, 0%, 64.3%, 49.4%)
CIE-LABlab(48.90, -32.57, 38.60)
CIE-LCHlch(48.90, 50.51, 130.15°)
OKLaboklab(54.85% -0.0904 0.0895)
OKLCHoklch(54.85% 0.127 135.3)
XYZxyz(11.4850, 17.5169, 5.3602)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E812E #612E81
analogous
#78812E #4E812E #2E8137
triadic
#4E812E #2E4E81 #812E4E
tetradic
#4E812E #2E7881 #612E81 #81372E
square
#4E812E #2E7881 #612E81 #81372E
split-complementary
#4E812E #372E81 #812E78
monochromatic
#17270E #33541E #4E812E #69AE3E #89C762

Accessibility & contrast

On white

4.66
#4E812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4E812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E812E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E812E#FFFFFF#000000##FFFFFF
##4E812E1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e812e;
/* rgb */ color: rgb(78, 129, 46);
/* oklch */ color: oklch(54.9% 0.127 135.3);
Tailwind
colors: {
  custom: {
    50: '#83a66a',
    500: '#4e812e',
    950: '#000000',
  },
}
SCSS
$custom: #4e812e;
$custom-light: #83a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e812e",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 96.867,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54851,
    "c": 0.12723,
    "h": 135.3
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

primary
#4E812E
secondary
#8F5DAE
accent
#51D7A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E812E

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

Preview Lab → · Contrast checker → · Palette generator →

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