#4E7931#4E7931

#4E7931 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.113 H 134.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4E7931
RGBrgb(78, 121, 49)
HSLhsl(96, 42%, 33%)
HSVhsv(96, 60%, 47%)
CMYKcmyk(35.5%, 0%, 59.5%, 52.5%)
CIE-LABlab(46.33, -28.51, 34.24)
CIE-LCHlch(46.33, 44.55, 129.78°)
OKLaboklab(52.76% -0.0791 0.0805)
OKLCHoklch(52.76% 0.113 134.5)
XYZxyz(10.5334, 15.5158, 5.3450)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7931 #5C3179
analogous
#727931 #4E7931 #317938
triadic
#4E7931 #314E79 #79314E
tetradic
#4E7931 #317279 #5C3179 #793831
square
#4E7931 #317279 #5C3179 #793831
split-complementary
#4E7931 #383179 #793172
monochromatic
#16220E #324D1F #4E7931 #6AA543 #89C064

Accessibility & contrast

On white

5.12
#4E7931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4E7931 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7931
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7931#FFFFFF#000000##FFFFFF
##4E79311.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702A
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#4E7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7931;
/* rgb */ color: rgb(78, 121, 49);
/* oklch */ color: oklch(52.8% 0.113 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a06c',
    500: '#4e7931',
    950: '#000000',
  },
}
SCSS
$custom: #4e7931;
$custom-light: #82a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7931",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 95.833,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.11283,
    "h": 134.5
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#4E7931
secondary
#8A5EA8
accent
#56D2A0
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7931

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

Preview Lab → · Contrast checker → · Palette generator →

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