#4E6631#4E6631

#4E6631 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.8% C 0.083 H 129.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4E6631
RGBrgb(78, 102, 49)
HSLhsl(87, 35%, 30%)
HSVhsv(87, 52%, 40%)
CMYKcmyk(23.5%, 0%, 52%, 60%)
CIE-LABlab(40.15, -18.91, 26.91)
CIE-LCHlch(40.15, 32.89, 125.09°)
OKLaboklab(47.76% -0.0525 0.0645)
OKLCHoklch(47.76% 0.083 129.2)
XYZxyz(8.4476, 11.3440, 4.6497)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6631 #493166
analogous
#666431 #4E6631 #346631
triadic
#4E6631 #314E66 #66314E
tetradic
#4E6631 #316664 #493166 #663134
square
#4E6631 #316664 #493166 #663134
split-complementary
#4E6631 #313466 #643166
monochromatic
#10150A #2E3D1D #4E6631 #6E8F45 #8DB25F

Accessibility & contrast

On white

6.42
#4E6631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E6631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6631
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6631#FFFFFF#000000##FFFFFF
##4E66311.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602C
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#50625A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6631;
/* rgb */ color: rgb(78, 102, 49);
/* oklch */ color: oklch(47.8% 0.083 129.2);
Tailwind
colors: {
  custom: {
    50: '#81916a',
    500: '#4e6631',
    950: '#000000',
  },
}
SCSS
$custom: #4e6631;
$custom-light: #81916a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6631",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 49
  },
  "hsl": {
    "h": 87.17,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47755,
    "c": 0.08318,
    "h": 129.2
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#4E6631
secondary
#775C97
accent
#5DCB8F
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0D06
muted
#7C7D7A

Preview Lab

Preview with #4E6631

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

Preview Lab → · Contrast checker → · Palette generator →

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