#4E7331#4E7331

#4E7331 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.2% C 0.104 H 133.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4E7331
RGBrgb(78, 115, 49)
HSLhsl(94, 40%, 32%)
HSVhsv(94, 57%, 45%)
CMYKcmyk(32.2%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.38, -25.59, 31.96)
CIE-LCHlch(44.38, 40.94, 128.67°)
OKLaboklab(51.18% -0.071 0.0756)
OKLCHoklch(51.18% 0.104 133.2)
XYZxyz(9.8268, 14.1026, 5.1094)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7331 #563173
analogous
#6F7331 #4E7331 #317335
triadic
#4E7331 #314E73 #73314E
tetradic
#4E7331 #316F73 #563173 #733531
square
#4E7331 #316F73 #563173 #733531
split-complementary
#4E7331 #353173 #73316F
monochromatic
#141D0C #31481F #4E7331 #6B9E43 #8ABC62

Accessibility & contrast

On white

5.50
#4E7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4E7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7331
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7331#FFFFFF#000000##FFFFFF
##4E73311.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2B
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#4E6F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7331;
/* rgb */ color: rgb(78, 115, 49);
/* oklch */ color: oklch(51.2% 0.104 133.2);
Tailwind
colors: {
  custom: {
    50: '#829b6b',
    500: '#4e7331',
    950: '#000000',
  },
}
SCSS
$custom: #4e7331;
$custom-light: #829b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7331",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 93.636,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51176,
    "c": 0.1037,
    "h": 133.2
  },
  "luminance": 0.14103
}

Semantic roles & 50–950 ramp

primary
#4E7331
secondary
#845CA4
accent
#58D09B
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7331

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

Preview Lab → · Contrast checker → · Palette generator →

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