#4E6831#4E6831

#4E6831 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.3% C 0.086 H 130.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4E6831
RGBrgb(78, 104, 49)
HSLhsl(88, 36%, 30%)
HSVhsv(88, 53%, 41%)
CMYKcmyk(25%, 0%, 52.9%, 59.2%)
CIE-LABlab(40.80, -19.97, 27.70)
CIE-LCHlch(40.80, 34.15, 125.79°)
OKLaboklab(48.28% -0.0555 0.0662)
OKLCHoklch(48.28% 0.086 130)
XYZxyz(8.6465, 11.7419, 4.7160)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6831 #4B3168
analogous
#686731 #4E6831 #326831
triadic
#4E6831 #314E68 #68314E
tetradic
#4E6831 #316867 #4B3168 #683132
square
#4E6831 #316867 #4B3168 #683132
split-complementary
#4E6831 #313268 #673168
monochromatic
#10150A #2F3E1D #4E6831 #6D9245 #8CB460

Accessibility & contrast

On white

6.27
#4E6831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E6831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6831
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6831#FFFFFF#000000##FFFFFF
##4E68311.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612C
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#50645B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6831;
/* rgb */ color: rgb(78, 104, 49);
/* oklch */ color: oklch(48.3% 0.086 130.0);
Tailwind
colors: {
  custom: {
    50: '#81936a',
    500: '#4e6831',
    950: '#000000',
  },
}
SCSS
$custom: #4e6831;
$custom-light: #81936a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6831",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 49
  },
  "hsl": {
    "h": 88.364,
    "s": 35.948,
    "l": 30
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.0864,
    "h": 130
  },
  "luminance": 0.11742
}

Semantic roles & 50–950 ramp

primary
#4E6831
secondary
#795C99
accent
#5CCC91
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4E6831

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

Preview Lab → · Contrast checker → · Palette generator →

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