#4E731A#4E731A

#4E731A is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.123 H 129.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E731A
RGBrgb(78, 115, 26)
HSLhsl(85, 63%, 28%)
HSVhsv(85, 77%, 45%)
CMYKcmyk(32.2%, 0%, 77.4%, 54.9%)
CIE-LABlab(44.17, -27.64, 42.20)
CIE-LCHlch(44.17, 50.45, 123.23°)
OKLaboklab(50.94% -0.0787 0.0942)
OKLCHoklch(50.94% 0.123 129.9)
XYZxyz(9.4590, 13.9555, 3.1724)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E731A #3F1A73
analogous
#736C1A #4E731A #21731A
triadic
#4E731A #1A4E73 #731A4E
tetradic
#4E731A #1A736C #3F1A73 #731A21
square
#4E731A #1A736C #3F1A73 #731A21
split-complementary
#4E731A #1A2173 #6C1A73
monochromatic
#111906 #2C410F #4E731A #70A525 #91D236

Accessibility & contrast

On white

5.54
#4E731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E731A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E731A#FFFFFF#000000##FFFFFF
##4E731A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A08
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e731a;
/* rgb */ color: rgb(78, 115, 26);
/* oklch */ color: oklch(50.9% 0.123 129.9);
Tailwind
colors: {
  custom: {
    50: '#839b5e',
    500: '#4e731a',
    950: '#000000',
  },
}
SCSS
$custom: #4e731a;
$custom-light: #839b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e731a",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 84.944,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.12271,
    "h": 129.9
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#4E731A
secondary
#6C41A8
accent
#42E686
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E731A

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

Preview Lab → · Contrast checker → · Palette generator →

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