#4E811F#4E811F

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

Color values

HEX#4E811F
RGBrgb(78, 129, 31)
HSLhsl(91, 61%, 31%)
HSVhsv(91, 76%, 51%)
CMYKcmyk(39.5%, 0%, 76%, 49.4%)
CIE-LABlab(48.78, -33.82, 44.85)
CIE-LCHlch(48.78, 56.17, 127.02°)
OKLaboklab(54.71% -0.095 0.1005)
OKLCHoklch(54.71% 0.138 133.4)
XYZxyz(11.2393, 17.4186, 4.0660)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E811F #521F81
analogous
#7F811F #4E811F #1F8121
triadic
#4E811F #1F4E81 #811F4E
tetradic
#4E811F #1F7F81 #521F81 #81211F
square
#4E811F #1F7F81 #521F81 #81211F
split-complementary
#4E811F #211F81 #811F7F
monochromatic
#121E07 #305013 #4E811F #6CB22B #8AD347

Accessibility & contrast

On white

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

On black

4.48
#4E811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E811F#FFFFFF#000000##FFFFFF
##4E811F1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#4E7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e811f;
/* rgb */ color: rgb(78, 129, 31);
/* oklch */ color: oklch(54.7% 0.138 133.4);
Tailwind
colors: {
  custom: {
    50: '#84a662',
    500: '#4e811f',
    950: '#000000',
  },
}
SCSS
$custom: #4e811f;
$custom-light: #84a662;
$custom-dark: #000000;
JSON
{
  "hex": "#4e811f",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 91.224,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.13834,
    "h": 133.4
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#4E811F
secondary
#8048B4
accent
#43E497
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E811F

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

Preview Lab → · Contrast checker → · Palette generator →

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