#4E6638#4E6638

#4E6638 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.9% C 0.075 H 131.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4E6638
RGBrgb(78, 102, 56)
HSLhsl(91, 29%, 31%)
HSVhsv(91, 45%, 40%)
CMYKcmyk(23.5%, 0%, 45.1%, 60%)
CIE-LABlab(40.26, -17.97, 23.12)
CIE-LCHlch(40.26, 29.28, 127.86°)
OKLaboklab(47.87% -0.0494 0.0564)
OKLCHoklch(47.87% 0.075 131.2)
XYZxyz(8.6069, 11.4078, 5.4891)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6638 #503866
analogous
#656638 #4E6638 #386639
triadic
#4E6638 #384E66 #66384E
tetradic
#4E6638 #386566 #503866 #663938
square
#4E6638 #386566 #503866 #663938
split-complementary
#4E6638 #393866 #663865
monochromatic
#12170D #303E22 #4E6638 #6C8E4E #8BAE6B

Accessibility & contrast

On white

6.40
#4E6638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E6638 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6638
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6638#FFFFFF#000000##FFFFFF
##4E66381.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6034
Deuteranopia (green-blind)
#665E3B
Tritanopia (blue-blind)
#4F635B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e6638;
/* rgb */ color: rgb(78, 102, 56);
/* oklch */ color: oklch(47.9% 0.075 131.2);
Tailwind
colors: {
  custom: {
    50: '#80916f',
    500: '#4e6638',
    950: '#000000',
  },
}
SCSS
$custom: #4e6638;
$custom-light: #80916f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6638",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 56
  },
  "hsl": {
    "h": 91.304,
    "s": 29.114,
    "l": 30.98
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.075,
    "h": 131.2
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#4E6638
secondary
#7E6396
accent
#62C596
background
#F7F8F6
surface
#EEF0EC
border
#C9CBC7
text
#0A0D07
muted
#7C7D7A

Preview Lab

Preview with #4E6638

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

Preview Lab → · Contrast checker → · Palette generator →

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