#4E812F#4E812F

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

Color values

HEX#4E812F
RGBrgb(78, 129, 47)
HSLhsl(97, 47%, 35%)
HSVhsv(97, 64%, 51%)
CMYKcmyk(39.5%, 0%, 63.6%, 49.4%)
CIE-LABlab(48.91, -32.47, 38.15)
CIE-LCHlch(48.91, 50.09, 130.40°)
OKLaboklab(54.86% -0.0901 0.0886)
OKLCHoklch(54.86% 0.126 135.5)
XYZxyz(11.5050, 17.5249, 5.4652)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E812F #622F81
analogous
#77812F #4E812F #2F8139
triadic
#4E812F #2F4E81 #812F4E
tetradic
#4E812F #2F7781 #622F81 #81392F
square
#4E812F #2F7781 #622F81 #81392F
split-complementary
#4E812F #392F81 #812F77
monochromatic
#18270E #33541F #4E812F #69AE3F #89C664

Accessibility & contrast

On white

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

On black

4.51
#4E812F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E812F#FFFFFF#000000##FFFFFF
##4E812F1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e812f;
/* rgb */ color: rgb(78, 129, 47);
/* oklch */ color: oklch(54.9% 0.126 135.5);
Tailwind
colors: {
  custom: {
    50: '#83a66b',
    500: '#4e812f',
    950: '#000000',
  },
}
SCSS
$custom: #4e812f;
$custom-light: #83a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e812f",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 97.317,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.12637,
    "h": 135.5
  },
  "luminance": 0.17525
}

Semantic roles & 50–950 ramp

primary
#4E812F
secondary
#905EAD
accent
#52D6A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E812F

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

Preview Lab → · Contrast checker → · Palette generator →

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