#4E812A#4E812A

#4E812A is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.8% C 0.131 H 134.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4E812A
RGBrgb(78, 129, 42)
HSLhsl(95, 51%, 34%)
HSVhsv(95, 67%, 51%)
CMYKcmyk(39.5%, 0%, 67.4%, 49.4%)
CIE-LABlab(48.87, -32.95, 40.39)
CIE-LCHlch(48.87, 52.13, 129.21°)
OKLaboklab(54.81% -0.0918 0.0928)
OKLCHoklch(54.81% 0.131 134.7)
XYZxyz(11.4098, 17.4868, 4.9641)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E812A #5D2A81
analogous
#79812A #4E812A #2A8131
triadic
#4E812A #2A4E81 #812A4E
tetradic
#4E812A #2A7981 #5D2A81 #81312A
square
#4E812A #2A7981 #5D2A81 #81312A
split-complementary
#4E812A #312A81 #812A79
monochromatic
#16250C #32531B #4E812A #6AAF39 #89CA5C

Accessibility & contrast

On white

4.67
#4E812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E812A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E812A#FFFFFF#000000##FFFFFF
##4E812A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#4D7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e812a;
/* rgb */ color: rgb(78, 129, 42);
/* oklch */ color: oklch(54.8% 0.131 134.7);
Tailwind
colors: {
  custom: {
    50: '#84a668',
    500: '#4e812a',
    950: '#000000',
  },
}
SCSS
$custom: #4e812a;
$custom-light: #84a668;
$custom-dark: #000000;
JSON
{
  "hex": "#4e812a",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 95.172,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.13051,
    "h": 134.7
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#4E812A
secondary
#8B57AF
accent
#4DDAA0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E812A

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

Preview Lab → · Contrast checker → · Palette generator →

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