#4E6731#4E6731

#4E6731 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.085 H 129.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E6731
RGBrgb(78, 103, 49)
HSLhsl(88, 36%, 30%)
HSVhsv(88, 52%, 40%)
CMYKcmyk(24.3%, 0%, 52.4%, 59.6%)
CIE-LABlab(40.48, -19.44, 27.31)
CIE-LCHlch(40.48, 33.52, 125.45°)
OKLaboklab(48.02% -0.054 0.0654)
OKLCHoklch(48.02% 0.085 129.6)
XYZxyz(8.5464, 11.5418, 4.6826)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6731 #4A3167
analogous
#676531 #4E6731 #336731
triadic
#4E6731 #314E67 #67314E
tetradic
#4E6731 #316765 #4A3167 #673133
square
#4E6731 #316765 #4A3167 #673133
split-complementary
#4E6731 #313367 #653167
monochromatic
#10150A #2F3E1D #4E6731 #6D9045 #8CB35F

Accessibility & contrast

On white

6.35
#4E6731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E6731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6731
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6731#FFFFFF#000000##FFFFFF
##4E67311.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B612C
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#50635B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6731;
/* rgb */ color: rgb(78, 103, 49);
/* oklch */ color: oklch(48.0% 0.085 129.6);
Tailwind
colors: {
  custom: {
    50: '#81926a',
    500: '#4e6731',
    950: '#000000',
  },
}
SCSS
$custom: #4e6731;
$custom-light: #81926a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6731",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 87.778,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48017,
    "c": 0.08479,
    "h": 129.6
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#4E6731
secondary
#785C98
accent
#5CCC90
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6731

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

Preview Lab → · Contrast checker → · Palette generator →

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