#4E811C#4E811C

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

Color values

HEX#4E811C
RGBrgb(78, 129, 28)
HSLhsl(90, 64%, 31%)
HSVhsv(90, 78%, 51%)
CMYKcmyk(39.5%, 0%, 78.3%, 49.4%)
CIE-LABlab(48.76, -34.02, 45.92)
CIE-LCHlch(48.76, 57.15, 126.53°)
OKLaboklab(54.69% -0.0958 0.1023)
OKLCHoklch(54.69% 0.14 133.1)
XYZxyz(11.2016, 17.4035, 3.8674)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E811C #4F1C81
analogous
#80811C #4E811C #1C811C
triadic
#4E811C #1C4E81 #811C4E
tetradic
#4E811C #1C8081 #4F1C81 #811C1C
square
#4E811C #1C8081 #4F1C81 #811C1C
split-complementary
#4E811C #1C1C81 #811C80
monochromatic
#111C06 #304F11 #4E811C #6CB327 #8BD642

Accessibility & contrast

On white

4.69
#4E811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E811C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E811C#FFFFFF#000000##FFFFFF
##4E811C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#4E7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e811c;
/* rgb */ color: rgb(78, 129, 28);
/* oklch */ color: oklch(54.7% 0.140 133.1);
Tailwind
colors: {
  custom: {
    50: '#84a661',
    500: '#4e811c',
    950: '#000000',
  },
}
SCSS
$custom: #4e811c;
$custom-light: #84a661;
$custom-dark: #000000;
JSON
{
  "hex": "#4e811c",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 90.297,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.14014,
    "h": 133.1
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

primary
#4E811C
secondary
#7D44B4
accent
#40E795
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E811C

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

Preview Lab → · Contrast checker → · Palette generator →

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